From 85f6e6d7d792770cbc6e31edebd2f7f6331fef15 Mon Sep 17 00:00:00 2001 From: Sejeong Kim Date: Mon, 11 Nov 2024 02:40:54 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EC=8A=A4=EC=BC=80=EC=A4=84=EB=9F=AC?= =?UTF-8?q?=201=EC=8B=9C=EA=B0=84=20=EB=8B=A8=EC=9C=84=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/layer/batch/scheduler/RetrospectScheduler.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 1ef53e9c..40f70f53 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/2 * * * *") + @Scheduled(cron = "0 0 * * * *") public void updateRetrospectStatusToDone() { log.info("Batch Start : updateRetrospectStatusToDone"); @@ -41,8 +41,6 @@ public void updateRetrospectStatusToDone() { List retrospects = retrospectRepository.findAllByDeadlineBeforeAndRetrospectStatus( now, RetrospectStatus.PROCEEDING); - log.info("batch: size of retrospects: {}", retrospects.size()); - log.info("now: {}", now); Map retrospectMap = retrospects.stream() .collect(Collectors.toMap(Retrospect::getId, retrospect -> retrospect));