This commit is contained in:
Filip Izydorczyk 2021-01-05 11:14:29 +01:00
parent 3485dff86f
commit 0b40d3729c
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ public class AppConfig {
*/
private CronTrigger getCron(Date date) {
final LocalDate tourEnd = date.toLocalDate();
return new CronTrigger("0 11 11 " + tourEnd.getDayOfMonth() + " " + tourEnd.getMonthValue() + " ?",
return new CronTrigger("0 0 0 " + tourEnd.getDayOfMonth() + " " + tourEnd.getMonthValue() + " ?",
TimeZone.getTimeZone(TimeZone.getDefault().getID()));
}