Ver Fonte

no message

boweniac há 3 semanas atrás
pai
commit
e0fb2ad901
1 ficheiros alterados com 4 adições e 4 exclusões
  1. 4 4
      crontask/init.go

+ 4 - 4
crontask/init.go

@@ -43,8 +43,8 @@ func ScheduleRun(c *cron.Cron, serverCtx *svc.ServiceContext) {
 		computeStatistic.computeStatistic()
 	})
 
-	syncWx := NewCronTask(context.Background(), serverCtx)
-	c.AddFunc("*/30 * * * *", func() {
-		syncWx.syncWx()
-	})
+	//syncWx := NewCronTask(context.Background(), serverCtx)
+	//c.AddFunc("*/30 * * * *", func() {
+	//	syncWx.syncWx()
+	//})
 }