From c83d01e977e6bf15bba708ae043f90f2f793a898 Mon Sep 17 00:00:00 2001 From: fumiama Date: Tue, 23 Nov 2021 12:33:24 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=91=B8=E9=B1=BC=20cron?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_moyu/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_moyu/run.go b/plugin_moyu/run.go index 4228348548..04dbcc9bfa 100644 --- a/plugin_moyu/run.go +++ b/plugin_moyu/run.go @@ -13,7 +13,7 @@ import ( func init() { // 插件主体 // 定时任务每天10点执行一次 c := cron.New() - _, err := c.AddFunc("0 0 10 * * ?", func() { sendNotice() }) + _, err := c.AddFunc("0 10 * * *", func() { sendNotice() }) if err != nil { c.Start() }