From 102e5a7a7c1cb63cbec3ae8009aebc3c324d2c7e Mon Sep 17 00:00:00 2001 From: devxb Date: Wed, 10 Jul 2024 18:25:01 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20scheduler=20time=20zone=20=EC=9D=84?= =?UTF-8?q?=20asia/seoul=EB=A1=9C=20=EC=88=98=EC=A0=95=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/org/gitanimals/render/app/UserStatisticSchedule.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/gitanimals/render/app/UserStatisticSchedule.kt b/src/main/kotlin/org/gitanimals/render/app/UserStatisticSchedule.kt index 535b71b..73e73b9 100644 --- a/src/main/kotlin/org/gitanimals/render/app/UserStatisticSchedule.kt +++ b/src/main/kotlin/org/gitanimals/render/app/UserStatisticSchedule.kt @@ -14,7 +14,7 @@ class UserStatisticSchedule( private val userStatisticService: UserStatisticService, ) { - @Scheduled(cron = EVERY_9AM) + @Scheduled(cron = EVERY_9AM, zone = "Asia/Seoul") fun sendYesterdayNewUserReport() { val yesterday = instant().toKr().minusDays(1) val yesterdayUserCount = userStatisticService.getYesterdayUserCount()