Ver código fonte

修改定时器

rdluck 4 anos atrás
pai
commit
a3a9e6339a
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      services/task.go

+ 2 - 2
services/task.go

@@ -15,10 +15,10 @@ func Task() {
 	toolbox.AddTask("oneMinute", oneMinute)
 
 	//隆众指标获取
-	getLzProductList := toolbox.NewTask("getLzProductList", "0 0 18 * * * ", GetLzProductList)
+	getLzProductList := toolbox.NewTask("getLzProductList", "0 0 12,17 * * * ", GetLzProductList)
 	toolbox.AddTask("getLzProductList", getLzProductList)
 	//隆众指标数据获取
-	getLzProductDetail := toolbox.NewTask("getLzProductDetail", "0 5 18 * * * ", GetLzProductDetail)
+	getLzProductDetail := toolbox.NewTask("getLzProductDetail", "0 5 12,17 * * * ", GetLzProductDetail)
 	toolbox.AddTask("getLzProductDetail", getLzProductDetail)
 
 	toolbox.StartTask()