0 0
This commit is contained in:
parent
3485dff86f
commit
0b40d3729c
@ -164,7 +164,7 @@ public class AppConfig {
|
|||||||
*/
|
*/
|
||||||
private CronTrigger getCron(Date date) {
|
private CronTrigger getCron(Date date) {
|
||||||
final LocalDate tourEnd = date.toLocalDate();
|
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()));
|
TimeZone.getTimeZone(TimeZone.getDefault().getID()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user