From 4f234f0411edc4101b61789f60e725e89e8c1caa Mon Sep 17 00:00:00 2001 From: Jo YoHan Date: Tue, 4 Jun 2024 10:14:41 +0900 Subject: [PATCH] test: timezone test --- cmd/server/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/server/main.go b/cmd/server/main.go index bb41ea9..b115967 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -59,12 +59,12 @@ func main() { slog.Error("Unfortunately can't load a location", "error", err.Error()) } else { time.Local = location - //gocron.ChangeLoc(location) + gocron.ChangeLoc(location) } slog.Info("current time", "time", time.Now()) - gocron.Every(1).Day().At("10:14").Do(func() { + gocron.Every(1).Day().At("10:17").Do(func() { slog.Info("start cron", "time", *location) var subscriptionArr []entity.Subscription