From 1db86fe5a5cdc25d34886bc02643f2d322eaa045 Mon Sep 17 00:00:00 2001 From: Sejeong Kim Date: Mon, 11 Nov 2024 00:21:49 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=ED=81=AC=EB=A1=A0=20=EC=9E=84?= =?UTF-8?q?=EC=8B=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layer-batch/Dockerfile | 2 +- .../java/org/layer/batch/scheduler/RetrospectScheduler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layer-batch/Dockerfile b/layer-batch/Dockerfile index 391fc1a4..ea09a3c3 100644 --- a/layer-batch/Dockerfile +++ b/layer-batch/Dockerfile @@ -7,4 +7,4 @@ COPY ${JAR_FILE} layer-batch.jar ENV SPRING_PROFILE=${SPRING_PROFILE} -ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul","-jar" ,"layer-batch.jar"] \ No newline at end of file +ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul","-Dspring.profiles.active=prod" ,"-jar" ,"layer-batch.jar"] \ No newline at end of file diff --git a/layer-batch/src/main/java/org/layer/batch/scheduler/RetrospectScheduler.java b/layer-batch/src/main/java/org/layer/batch/scheduler/RetrospectScheduler.java index ee34e6de..dc62ad6a 100644 --- a/layer-batch/src/main/java/org/layer/batch/scheduler/RetrospectScheduler.java +++ b/layer-batch/src/main/java/org/layer/batch/scheduler/RetrospectScheduler.java @@ -32,7 +32,7 @@ public class RetrospectScheduler { /** * @note: 1시간마다 실행된다. */ - @Scheduled(cron = "0 0 * * * *") + @Scheduled(cron = "0 0/3 * * * *") public void updateRetrospectStatusToDone() { log.info("Batch Start : updateRetrospectStatusToDone");