Skip to content

Commit

Permalink
Change cron schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
Jona Fleckenstein committed Sep 27, 2023
1 parent 2d9255f commit 618f7c0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ class BirthdayButlerService {
}

// Every month on the second last day at 8:00 AM
//@Scheduled(cron = "0 0 8 L-2 * ?")
// Every minute
@Scheduled(cron = "0 * * * * *")
@Scheduled(cron = "0 0 8 L-2 * ?")
fun sendBirthdayButlerJob() {
var locale = ThreadLocalUserContext.getLocale(null)
birthdayButlerConfiguration.locale?.let {
Expand Down

0 comments on commit 618f7c0

Please sign in to comment.