Explorar o código

fix:时间调整为2点以后执行

Roc %!s(int64=3) %!d(string=hai) anos
pai
achega
abca55ba86
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/task.go

+ 1 - 1
services/task.go

@@ -67,7 +67,7 @@ func Task() {
 	_ = AddEdbTask(nil)
 
 	//每日用户阅读数据统计
-	statisticsUserView := task.NewTask("statisticsUserView", "0 5 0 * * *", StatisticsUserView)
+	statisticsUserView := task.NewTask("statisticsUserView", "0 5 2 * * *", StatisticsUserView)
 	task.AddTask("每日用户阅读数据统计", statisticsUserView)
 
 	fmt.Println("task end")