Исправление cron
This commit is contained in:
parent
c5144e1043
commit
582a92a7b5
@ -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 9 * * MON-FRI")
|
@Scheduled(cron = "0 9 * * 1-5")
|
||||||
public void goodMorning() {
|
public void goodMorning() {
|
||||||
List<User> allRegister = userService.getAllRegister();
|
List<User> allRegister = userService.getAllRegister();
|
||||||
for (User user : allRegister) {
|
for (User user : allRegister) {
|
||||||
|
Loading…
Reference in New Issue
Block a user