浏览代码

修改定时器

rdluck 4 年之前
父节点
当前提交
a3a9e6339a
共有 1 个文件被更改,包括 2 次插入2 次删除
  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()