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

This commit is contained in:
upagge 2020-03-19 23:16:42 +03:00
parent 8137493f77
commit c70977167a
No known key found for this signature in database
GPG Key ID: 15CD012E46F6BA34

View File

@ -36,7 +36,7 @@ public class SchedulerComments {
private final BitbucketConfig bitbucketConfig;
@Scheduled(cron = "0 5 8-18 * * MON-FRI")
@Scheduled(cron = "0 */5 8-18 * * MON-FRI")
public void test() {
long newLastCommentId = commentService.getLastCommentId();
long commentId = newLastCommentId + 1;