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