|
@@ -115,9 +115,10 @@ func Task() {
|
|
|
// 定时生成本周研究汇总
|
|
|
cygxResearchSummary := task.NewTask("cygxResearchSummary", "0 0 9 * * 5", CygxResearchSummary)
|
|
|
task.AddTask("定时生成本周研究汇总", cygxResearchSummary)
|
|
|
+
|
|
|
// 定时生成上周纪要汇总
|
|
|
- CygxLastWeekSummary := task.NewTask("CygxLastWeekSummary", "0 0 9 * * 5", CygxLastWeekSummary)
|
|
|
- task.AddTask("定时生成上周纪要汇总", CygxLastWeekSummary)
|
|
|
+ cygxLastWeekSummary := task.NewTask("CygxLastWeekSummary", "0 0 9 * * 5", CygxLastWeekSummary)
|
|
|
+ task.AddTask("定时生成上周纪要汇总", cygxLastWeekSummary)
|
|
|
//CygxResearchSummary()
|
|
|
//CygxLastWeekSummary()
|
|
|
task.StartTask()
|