浏览代码

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

Roc 3 年之前
父节点
当前提交
abca55ba86
共有 1 个文件被更改,包括 1 次插入1 次删除
  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")