updated cron func

This commit is contained in:
tzwang 2024-09-14 17:18:22 +08:00
parent 0b8261f6f8
commit 2c3a0d515f
1 changed files with 1 additions and 1 deletions

View File

@ -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)
})
}