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) }