소스 검색

修改定时器

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()