Selaa lähdekoodia

新增同步时间

tuoling805 2 vuotta sitten
vanhempi
commit
823143ac08
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)
 
 	//刷新指标数据