From 8bc0a2c3724ad61cdfffad42e768bfbe88d6ea64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=BF=90=E5=AE=B6?= Date: Sat, 21 Sep 2024 16:12:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1cron=E8=A1=A8=E8=BE=BE=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- job/src/task/google_iap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job/src/task/google_iap.rs b/job/src/task/google_iap.rs index a6621f8..223e1b4 100644 --- a/job/src/task/google_iap.rs +++ b/job/src/task/google_iap.rs @@ -1,7 +1,7 @@ use tokio_cron_scheduler::{Job, JobSchedulerError}; pub fn get_task() -> Result { - Job::new("0/10 * * * * ?", |_uuid, _l| { + Job::new("0 0 0/1 * * ?", |_uuid, _l| { tracing::info!("定时任务执行中..."); }) }