瀏覽代碼

新增同步时间

tuoling805 2 年之前
父節點
當前提交
823143ac08
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/task.go

+ 1 - 1
services/task.go

@@ -24,7 +24,7 @@ func Task() {
 func releaseTask() {
 
 	//同步指标
-	syncHzDataIndex := task.NewTask("syncHzDataIndex", "0 30 18 * * *", SyncHzDataIndex)
+	syncHzDataIndex := task.NewTask("syncHzDataIndex", "0 30 0,18,21 * * *", SyncHzDataIndex)
 	task.AddTask("syncHzDataIndex", syncHzDataIndex)
 
 	//刷新指标数据