|
@@ -16,29 +16,24 @@ func Task() {
|
|
|
|
|
|
|
|
|
freeViewerDetail := toolbox.NewTask("freeViewerDetail", "0 0 9 * * 1 ", FreeViewerDetail)
|
|
|
- toolbox.AddTask("freeViewerDetail", freeViewerDetail)
|
|
|
+ toolbox.AddTask("潜在客户", freeViewerDetail)
|
|
|
|
|
|
|
|
|
companyTryOut := toolbox.NewTask("companyTryOut", "0 5 0 * * *", CompanyTryOut)
|
|
|
- toolbox.AddTask("companyTryOut", companyTryOut)
|
|
|
+ toolbox.AddTask("正式->试用", companyTryOut)
|
|
|
|
|
|
|
|
|
companyFreeze := toolbox.NewTask("companyFreeze", "0 10 0 * * *", CompanyFreeze)
|
|
|
- toolbox.AddTask("companyFreeze", companyFreeze)
|
|
|
+ toolbox.AddTask("试用->冻结", companyFreeze)
|
|
|
|
|
|
|
|
|
companyLoss := toolbox.NewTask("companyLoss", "0 20 0 * * *", CompanyLoss)
|
|
|
- toolbox.AddTask("companyLoss", companyLoss)
|
|
|
+ toolbox.AddTask("冻结->流失", companyLoss)
|
|
|
|
|
|
|
|
|
companyReportPermissionClose := toolbox.NewTask("companyReportPermissionClose", "0 30 0 * * *", CompanyReportPermissionClose)
|
|
|
toolbox.AddTask("用户产品权限试用-->关闭", companyReportPermissionClose)
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- companyRemind := toolbox.NewTask("companyRemind", "0 30 08 * * *", CompanyRemind)
|
|
|
- toolbox.AddTask("companyRemind", companyRemind)
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
@@ -80,6 +75,10 @@ func releaseTask(){
|
|
|
|
|
|
oneMinute := toolbox.NewTask("oneMinute", "0 */1 7-23 * * * ", OneMinute)
|
|
|
toolbox.AddTask("oneMinute", oneMinute)
|
|
|
+
|
|
|
+
|
|
|
+ companyRemind := toolbox.NewTask("companyRemind", "0 30 08 * * *", CompanyRemind)
|
|
|
+ toolbox.AddTask("companyRemind", companyRemind)
|
|
|
}
|
|
|
|
|
|
func TaskTest(){
|