Resolve "Реализовать периодические события" #142

Merged
alefly merged 1 commits from 20- into master 2018-11-11 01:44:37 +04:00

View File

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