Browse Source

wip:提交

wkyuer 2 months ago
parent
commit
14ceb28026
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/logic/timedTask/init.go

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