fix time
This commit is contained in:
parent
da1fbc3124
commit
e27e56aa9b
@ -66,7 +66,7 @@ public class EventService {
|
|||||||
return eventRepository.findAll(ids);
|
return eventRepository.findAll(ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Scheduled(cron = "0 8 1 * * ?")
|
@Scheduled(cron = "0 0 8 * * ?")
|
||||||
public void sendNotifications() {
|
public void sendNotifications() {
|
||||||
List<Event> events = eventRepository.findByCurrentDate();
|
List<Event> events = eventRepository.findByCurrentDate();
|
||||||
events.forEach(event -> {
|
events.forEach(event -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user