Merge pull request 'upated cron func' (#312) from tzwang/pcm-coordinator:master into master
This commit is contained in:
commit
9fff1b9786
|
@ -46,7 +46,7 @@ func AddCronGroup(svc *svc.ServiceContext) {
|
|||
stat.UpdateClusterResources(svc, adapterList)
|
||||
})
|
||||
|
||||
svc.Cron.AddFunc("*/30 * * * * ?", func() {
|
||||
svc.Cron.AddFunc("@hourly", func() {
|
||||
status.UpdateAutoStoppedInstance(svc)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue