updated cron func
This commit is contained in:
parent
0b8261f6f8
commit
2c3a0d515f
|
@ -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