mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #3051 from Mjoycarry/bugfix/notify_cron1
Bugfix: notify cron
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user