diff --git a/dbreps2/src/enwiki/boteditcount.rs b/dbreps2/src/enwiki/boteditcount.rs index d64e1664..c546e250 100644 --- a/dbreps2/src/enwiki/boteditcount.rs +++ b/dbreps2/src/enwiki/boteditcount.rs @@ -193,6 +193,10 @@ impl Report for BotEditCount { "|-\n|}\n".to_string() } + fn needs_update(&self, _old_text: &str) -> Result { + Ok(time::OffsetDateTime::now_utc().hour() == 4) + } + async fn post_run(&self, bot: &Bot, debug_mode: bool) -> Result<()> { info!("Updating Wikipedia:List of bots by number of edits/Age");