wkyuer 2 сар өмнө
parent
commit
14ceb28026

+ 1 - 1
internal/logic/timedTask/init.go

@@ -12,6 +12,6 @@ func AutoReturnTask() {
 	go OnlineReturnMoney() //首次执行
 	cr.AddFunc(g.Cfg().MustGet(context.Background(), "autoReturnTaskTime", "0 */3 * * * ?").String(), AutomaticPayment)
 	cr.AddFunc(g.Cfg().MustGet(context.Background(), "onlineReturnMoney", "0 */2 * * * ?").String(), OnlineReturnMoney)
-	cr.AddFunc(g.Cfg().MustGet(context.Background(), "protocolNotice.cron", "0 */2 * * * ?").String(), OrderProtocolNotice)
+	cr.AddFunc(g.Cfg().MustGet(context.Background(), "protocolNotice.cron", "# 0 2 * * *").String(), OrderProtocolNotice)
 	cr.Start()
 }