Исправление cron
This commit is contained in:
parent
8137493f77
commit
c70977167a
@ -36,7 +36,7 @@ public class SchedulerComments {
|
|||||||
|
|
||||||
private final BitbucketConfig bitbucketConfig;
|
private final BitbucketConfig bitbucketConfig;
|
||||||
|
|
||||||
@Scheduled(cron = "0 5 8-18 * * MON-FRI")
|
@Scheduled(cron = "0 */5 8-18 * * MON-FRI")
|
||||||
public void test() {
|
public void test() {
|
||||||
long newLastCommentId = commentService.getLastCommentId();
|
long newLastCommentId = commentService.getLastCommentId();
|
||||||
long commentId = newLastCommentId + 1;
|
long commentId = newLastCommentId + 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user