Skip to content

Commit b63ec33

Browse files
authored
Merge pull request #263 from prgrms-web-devcourse-final-project/setting/schedule-letter-delivery(WR9-151)
Setting/schedule-letter-delivery(wr9 151)
2 parents 6cf0599 + 4ad98a8 commit b63ec33

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/main/java/io/crops/warmletter/global/schedule/DeliverySchedule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class DeliverySchedule {
3030
@Qualifier("deliveryTaskExecutor")
3131
private final AsyncTaskExecutor taskExecutor;
3232

33-
@Scheduled(cron = "0 */1 * * * *", zone = "Asia/Seoul")
33+
@Scheduled(cron = "*/15 * * * * *", zone = "Asia/Seoul")
3434
public void processDeliveryCompletion() {
3535
String currentTime = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
3636
log.info("--------- 배송 완료 처리 시작: {} ---------", currentTime);

src/main/resources/application.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,6 @@ google:
8080
api:
8181
key: ${GOOGLE_API_KEY}
8282
url: "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest:generateContent?key=${GOOGLE_API_KEY}"
83-
# 초반에만 확인용으로 로그를 출력하고 추후 삭제 예정
84-
logging:
85-
level:
86-
root: INFO
87-
org.springframework.security: DEBUG
88-
io.corps.warmletter: DEBUG
89-
org.springframework.web: DEBUG
9083
---
9184
spring:
9285
config:

0 commit comments

Comments
 (0)