From 582a92a7b52f7329c67fc6a2f413ea1f16aef7c5 Mon Sep 17 00:00:00 2001 From: upagge Date: Tue, 3 Mar 2020 02:40:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20cron?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tsc/bitbucketbot/scheduler/SchedulerNotification.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/tsc/bitbucketbot/scheduler/SchedulerNotification.java b/src/main/java/com/tsc/bitbucketbot/scheduler/SchedulerNotification.java index 263ea5b..7206fa2 100644 --- a/src/main/java/com/tsc/bitbucketbot/scheduler/SchedulerNotification.java +++ b/src/main/java/com/tsc/bitbucketbot/scheduler/SchedulerNotification.java @@ -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 allRegister = userService.getAllRegister(); for (User user : allRegister) {