boweniac 1 dienu atpakaļ
vecāks
revīzija
7e9313f928
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4 4
      crontask/init.go

+ 4 - 4
crontask/init.go

@@ -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() {