Изменил время отправки утреннего сообщения

This commit is contained in:
upagge 2020-03-04 14:19:33 +03:00
parent 810ab56ca6
commit 0f327e25f6
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 PullRequestsService pullRequestsService;
private final MessageSendService messageSendService; private final MessageSendService messageSendService;
@Scheduled(cron = "0 30 8 * * MON-FRI") @Scheduled(cron = "0 15 8 * * MON-FRI")
public void goodMorning() { public void goodMorning() {
List<User> allRegister = userService.getAllRegister(); List<User> allRegister = userService.getAllRegister();
for (User user : allRegister) { for (User user : allRegister) {