This commit is contained in:
Anton Romanov 2018-06-10 01:53:32 +04:00
parent da1fbc3124
commit e27e56aa9b

View File

@ -66,7 +66,7 @@ public class EventService {
return eventRepository.findAll(ids);
}
@Scheduled(cron = "0 8 1 * * ?")
@Scheduled(cron = "0 0 8 * * ?")
public void sendNotifications() {
List<Event> events = eventRepository.findByCurrentDate();
events.forEach(event -> {