We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f069b8e + 8d786bf commit fca8aa7Copy full SHA for fca8aa7
1 file changed
src/main/java/com/project/submate/notification/service/NotificationScheduler.java
@@ -16,7 +16,7 @@ public class NotificationScheduler {
16
private final SubscribeRepository subscribeRepository;
17
private final NotificationService notificationService;
18
19
- @Scheduled(cron = "0 0 9 * * *") // 매일 오전 9시
+ @Scheduled(cron = "0 0 9 * * *") // 매일 오전 9시(한국시간아님)
20
public void checkNotifications() {
21
System.out.println("Scheduler 실행 시작");
22
@@ -74,7 +74,7 @@ else if ("년".equals(s.getPeriodUnit())) {
74
}
75
76
// 1. 디데이 3일 전 알림
77
- if (dDay == 3) {
+ if (dDay == 4) {
78
notificationService.saveNotification(1, s.getSubscribeName() + " 구독 결제가 3일 후 예정되어 있어요!");
79
80
0 commit comments