|
@@ -11,14 +11,14 @@ func Task() {
|
|
|
sendEmail := toolbox.NewTask("sendEmail", "0 0 12 * * 0 ", SendEmail)
|
|
|
toolbox.AddTask("sendEmail", sendEmail)
|
|
|
|
|
|
- oneMinute := toolbox.NewTask("oneMinute", "0 */1 * * * * ", OneMinute)
|
|
|
+ oneMinute := toolbox.NewTask("oneMinute", "0 */1 7-23 * * * ", OneMinute)
|
|
|
toolbox.AddTask("oneMinute", oneMinute)
|
|
|
|
|
|
//隆众指标获取
|
|
|
- getLzProductList := toolbox.NewTask("getLzProductList", "0 30 15 * * * ", GetLzProductList)
|
|
|
+ getLzProductList := toolbox.NewTask("getLzProductList", "0 0 18 * * * ", GetLzProductList)
|
|
|
toolbox.AddTask("getLzProductList", getLzProductList)
|
|
|
//隆众指标数据获取
|
|
|
- getLzProductDetail := toolbox.NewTask("getLzProductDetail", "0 1 16 * * * ", GetLzProductDetail)
|
|
|
+ getLzProductDetail := toolbox.NewTask("getLzProductDetail", "0 5 18 * * * ", GetLzProductDetail)
|
|
|
toolbox.AddTask("getLzProductDetail", getLzProductDetail)
|
|
|
|
|
|
toolbox.StartTask()
|