|
@@ -54,11 +54,11 @@ func ScheduleRun(c *cron.Cron, serverCtx *svc.ServiceContext) {
|
|
|
// contactForm.analyze()
|
|
|
//})
|
|
|
|
|
|
- computeHistoricalStatistic := NewCronTask(context.Background(), serverCtx)
|
|
|
- computeHistoricalStatistic.computeHistoricalStatistic()
|
|
|
+ //computeHistoricalStatistic := NewCronTask(context.Background(), serverCtx)
|
|
|
+ //computeHistoricalStatistic.computeHistoricalStatistic()
|
|
|
|
|
|
- //computeHistoricalCredit := NewCronTask(context.Background(), serverCtx)
|
|
|
- //computeHistoricalCredit.computeHistoricalCredit()
|
|
|
+ computeHistoricalCredit := NewCronTask(context.Background(), serverCtx)
|
|
|
+ computeHistoricalCredit.computeHistoricalCredit()
|
|
|
|
|
|
//l = NewCronTask(context.Background(), serverCtx)
|
|
|
//c.AddFunc("* * * * *", func() {
|