|
@@ -44,10 +44,10 @@ 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()
|
|
|
|
+ //})
|
|
|
|
|
|
contactForm := NewCronTask(context.Background(), serverCtx)
|
|
contactForm := NewCronTask(context.Background(), serverCtx)
|
|
c.AddFunc("0 0 * * *", func() {
|
|
c.AddFunc("0 0 * * *", func() {
|