|
@@ -50,7 +50,7 @@ func ScheduleRun(c *cron.Cron, serverCtx *svc.ServiceContext) {
|
|
|
//})
|
|
|
|
|
|
contactForm := NewCronTask(context.Background(), serverCtx)
|
|
|
- c.AddFunc("*/5 * * * *", func() {
|
|
|
+ c.AddFunc("0 0 * * *", func() {
|
|
|
contactForm.analyze()
|
|
|
})
|
|
|
//l = NewCronTask(context.Background(), serverCtx)
|