This commit is contained in:
Rain
2019-09-25 17:54:54 +08:00
parent ef6d7f097d
commit 5f170e6bd0
+1 -1
View File
@@ -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)