fix scheduler

This commit is contained in:
Anton Romanov 2018-11-11 01:31:27 +04:00
parent f0ac06c900
commit 190591c031

View File

@ -37,7 +37,7 @@ public class EventScheduler {
});
}
@Scheduled(cron = "0 */2 * * * ?")
@Scheduled(cron = "0 0 * * * ?")
public void checkPeriodEvents() {
log.debug("EventScheduler.checkPeriodEvents started");
for (Event event : eventService.findAllFuture()) {