Explorar el Código

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

Roc hace 3 años
padre
commit
abca55ba86
Se han modificado 1 ficheros con 1 adiciones y 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")