diff --git a/src/updater.rs b/src/updater.rs index 0ff582b..c631497 100644 --- a/src/updater.rs +++ b/src/updater.rs @@ -504,7 +504,7 @@ pub async fn update() -> Result<(), Box> { pub async fn cron_jobs() -> Result<(), JobSchedulerError> { let job_scheduler = JobScheduler::new().await.unwrap(); - let update_job = match Job::new_async("* 0 5 * * *", |_uuid, _l| Box::pin(async { + let update_job = match Job::new_async("0 0 5 * * *", |_uuid, _l| Box::pin(async { match update().await { Ok(_) => log::info!("Updated"), Err(err) => log::info!("Update err: {:?}", err),