From b2234c16ccaee42b655a64b65c15347af6c5e565 Mon Sep 17 00:00:00 2001 From: hyeonda02 Date: Mon, 2 Sep 2024 16:44:39 +0900 Subject: [PATCH] =?UTF-8?q?Chore=20:=20yml=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hsu/umc/server/service/SchedulerServiceImpl.java | 2 +- src/main/resources/application-dev.yml | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/main/java/hsu/umc/server/service/SchedulerServiceImpl.java b/src/main/java/hsu/umc/server/service/SchedulerServiceImpl.java index 952a2c6..9e2f450 100644 --- a/src/main/java/hsu/umc/server/service/SchedulerServiceImpl.java +++ b/src/main/java/hsu/umc/server/service/SchedulerServiceImpl.java @@ -23,7 +23,7 @@ public class SchedulerServiceImpl implements SchedulerService{ private final PhotoRepository photoRepository; private final UuidRepository uuidRepository; private final AmazonS3Manager s3Manager; - @Scheduled(cron = "*/10 * * * * *", zone = "Asia/Seoul") + @Scheduled(cron = "0 0 18 * * *", zone = "Asia/Seoul") @Transactional public void deletePhoto() { log.info("deletePhoto () : call"); diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index e727e3a..9af1ed2 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -7,7 +7,7 @@ spring: jpa: hibernate: - ddl-auto: update + ddl-auto: create-drop web: cors: @@ -20,14 +20,6 @@ spring: multipart: max-file-size: 20MB max-request-size: 20MB - - logging: - level: - root: INFO - org.springframework.web: DEBUG - org.springframework.scheduling: DEBUG - org.apache.coyote: DEBUG - cloud: aws: s3: