From b434fdb5e431399abe068850dd8e1a3078c654b8 Mon Sep 17 00:00:00 2001 From: tzwang Date: Fri, 27 Jun 2025 17:23:35 +0800 Subject: [PATCH] update cron task --- internal/cron/cron.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cron/cron.go b/internal/cron/cron.go index e1d43bd3..24236029 100644 --- a/internal/cron/cron.go +++ b/internal/cron/cron.go @@ -40,7 +40,7 @@ func AddCronGroup(svc *svc.ServiceContext) { status.UpdateAutoStoppedInstance(svc) }) - svc.Cron.AddFunc("0 5/5 * * * *", func() { + svc.Cron.AddFunc("1 * * * * *", func() { queryResource := schedule.NewQueryResourcesLogic(svc.HttpClient.R().Context(), svc) trainResrc, err := queryResource.QueryResourcesByClusterId(nil, "Train") if err != nil {