diff --git a/pkg/notify/service.go b/pkg/notify/service.go index 43537916ac..f63f17da3f 100644 --- a/pkg/notify/service.go +++ b/pkg/notify/service.go @@ -63,7 +63,7 @@ func StartService() { models.NotifyService.InitAll() defer models.NotifyService.StopAll() - cron := cronman.GetCronJobManager(true) + cron := cronman.GetCronJobManager() // update service cron.AddJobAtIntervals("UpdateServices", time.Duration(opts.UpdateInterval)*time.Second, models.NotifyService.UpdateServices)