From 6c8397e7a5ca5ca2d652682fd6df795479ee17d6 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Fri, 7 Oct 2022 20:05:49 +0600 Subject: [PATCH] Update schedule --- src/updater.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/updater.rs b/src/updater.rs index 7fbc226..a981f3e 100644 --- a/src/updater.rs +++ b/src/updater.rs @@ -504,7 +504,7 @@ pub async fn update() -> Result<(), Box> { pub async fn cron_jobs() { let job_scheduler = JobScheduler::new().await.unwrap(); - let update_job = match Job::new_async("0 0 2 * * *", |_uuid, _l| Box::pin(async { + let update_job = match Job::new_async("0 0 3 * * *", |_uuid, _l| Box::pin(async { match update().await { Ok(_) => log::info!("Updated"), Err(err) => log::info!("Update err: {:?}", err),