瀏覽代碼

wip:提交

wkyuer 2 月之前
父節點
當前提交
14ceb28026
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()
 }