fix scheduler
This commit is contained in:
parent
f0ac06c900
commit
190591c031
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user