Исправление cron

This commit is contained in:
upagge 2020-03-03 02:40:48 +03:00
parent c5144e1043
commit 582a92a7b5
No known key found for this signature in database
GPG Key ID: 15CD012E46F6BA34

View File

@ -22,7 +22,7 @@ public class SchedulerNotification {
private final PullRequestsService pullRequestsService;
private final MessageSendService messageSendService;
@Scheduled(cron = "0 9 * * MON-FRI")
@Scheduled(cron = "0 9 * * 1-5")
public void goodMorning() {
List<User> allRegister = userService.getAllRegister();
for (User user : allRegister) {