|
@@ -199,10 +199,6 @@ func Task() {
|
|
|
fixCompanyOverseasStatus := task.NewTask("fixCompanyOverseasStatus", "0 */5 * * * *", overseas_custom.FixCompanyOverseasStatus)
|
|
|
task.AddTask("同步客户状态", fixCompanyOverseasStatus)
|
|
|
|
|
|
- //问答社区定时发送模版消息给研究员
|
|
|
- notifyNeedAnswerQuestionToResearch := task.NewTask("notifyNeedAnswerQuestionToResearch", "0 0 10 * * *", NotifyNeedAnswerQuestionToResearch)
|
|
|
- task.AddTask("问答社区定时发送模版消息给研究员", notifyNeedAnswerQuestionToResearch)
|
|
|
-
|
|
|
task.StartTask()
|
|
|
|
|
|
fmt.Println("task end")
|
|
@@ -291,6 +287,10 @@ func releaseTask() {
|
|
|
// 同步进门财经白名单定时任务
|
|
|
syncWhiteList := task.NewTask("syncWhiteList", "0 */10 * * * *", comein.SyncWhiteList)
|
|
|
task.AddTask("syncWhiteList", syncWhiteList)
|
|
|
+
|
|
|
+ //问答社区定时发送模版消息给研究员
|
|
|
+ notifyNeedAnswerQuestionToResearch := task.NewTask("notifyNeedAnswerQuestionToResearch", "0 0 10 * * *", NotifyNeedAnswerQuestionToResearch)
|
|
|
+ task.AddTask("问答社区定时发送模版消息给研究员", notifyNeedAnswerQuestionToResearch)
|
|
|
}
|
|
|
|
|
|
//func TaskTest() {
|