Skip to content

Commit

Permalink
chore: 이메일 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
qormoon committed Jul 4, 2024
1 parent 74a5572 commit 6e783a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private void validateAnniversaryType(String type) {
}


public List<Map<String, Integer>> calculateDDay(Anniversary anniversary) {
public List<Map<String, Integer>> calculateDDay(Anniversary anniversary) {
List<Map<String, Integer>> dDayList = new ArrayList<>();
ZoneId koreaZoneId = ZoneId.of("Asia/Seoul");
LocalDate today = LocalDate.now(koreaZoneId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public AnniversarySchedular(AnniversaryService anniversaryService, MailService m
this.memberService = memberService;
}

@Scheduled(cron = "0 0 9 * * *", zone = "Asia/Seoul")
@Scheduled(cron = "0 30 14 * * *", zone = "Asia/Seoul")
@Transactional
public void sendAnniversaryEmails() {
List<Member> members = memberService.findAll();
Expand Down

0 comments on commit 6e783a3

Please sign in to comment.