Skip to content

Commit

Permalink
Checking mail (#3342)
Browse files Browse the repository at this point in the history
* updating time and adding log message to check scheduler working

* upadting time

* testing

* testing

* testing

* checking if log is called
  • Loading branch information
amstevenson authored Oct 11, 2024
1 parent e1de877 commit 59142fd
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 @@ -72,7 +72,7 @@ public ReportSender(
@SchedulerLock(name = "report-sender")
public void send() {
try {
log.info("Sending {} from {}", EMAIL_SUBJECT, from);
log.info("Sending daily report: {}", EMAIL_SUBJECT);
MimeMessage msg = mailSender.createMimeMessage();

MimeMessageHelper helper = new MimeMessageHelper(msg, true);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ monitoring:
enabled: ${NO_NEW_ENVELOPES_TASK_ENABLED}

reports:
cron: ${REPORTS_CRON:0 20 11 ? * *}
cron: ${REPORTS_CRON:0 0 6 ? * *}
recipients: ${REPORTS_RECIPIENTS:}

info:
Expand Down

0 comments on commit 59142fd

Please sign in to comment.