From 54979f4359cee27be9dc054f534bafa7186cd611 Mon Sep 17 00:00:00 2001 From: "qiyunfanbo126.com" <815699> Date: Wed, 21 Aug 2024 14:32:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AF=B9=E8=B4=A6=E5=8D=95?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/console/kernel.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/console/kernel.go b/app/console/kernel.go index 2f4cdcc..375c3b3 100644 --- a/app/console/kernel.go +++ b/app/console/kernel.go @@ -10,4 +10,5 @@ import ( */ func RegisterSchedule(c *cron.Cron) { c.AddFunc("@every 1m", ClearUnpayOrder) + c.AddFunc("0 0 9 * *", ClearUnpayOrder) }