Resolve "Реализовать периодические события" #142
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user