Skip to content

Commit

Permalink
Merge pull request #54 from Leets-Official/fix/#53
Browse files Browse the repository at this point in the history
fix: 메일링 크론잡 변경
  • Loading branch information
jwnnoh authored Feb 20, 2025
2 parents ab414f1 + 5d098bc commit 2c269c6
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class SendMailCron {
private final SendPaperMailImpl sendPaperMailImpl;
private final SendRecruitMail sendRecruitMail;

@Scheduled(cron = "0 30 16 20 2 ?")
@Scheduled(cron = "0 55 16 20 2 ?")
public void sendPaperMail() {
for (ApplicationStatus status : ApplicationStatus.papers()) {
sendPaperMailImpl.execute(status);
Expand All @@ -25,14 +25,14 @@ public void sendPaperMail() {
log.info("Send paper result mail successfully.");
}

// @Scheduled(cron = "0 30 23 8 9 ?")
// @Scheduled(cron = "0 0 12 9 3 ?")
public void sendPassPaperMail() {
sendPaperMailImpl.execute(ApplicationStatus.PASS_PAPER);

log.info("Send paper result mail successfully.");
}

// @Scheduled(cron = "0 0 20 11 9 ?")
@Scheduled(cron = "0 0 12 16 3 ?")
public void sendFinalMail() {
for (ApplicationStatus status : ApplicationStatus.finals()) {
sendFinalMailImpl.execute(status);
Expand All @@ -46,11 +46,10 @@ public void sendPlusMail() {
log.info("Send final result mail successfully.");
}

// @Scheduled(cron = "0 0 00 ?? 3 ?")
@Scheduled(cron = "0 0 12 24 2 ?")
public void sendRecruitMail() {
sendRecruitMail.execute();

log.info("Send recruit result mail successfully.");
}
}

0 comments on commit 2c269c6

Please sign in to comment.