You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the DST scenario, the org.quartz.CronExpression#getTimeAfter function returns null and throws an exception:Based on configured schedule, the given trigger will never fire.
#1138
Open
jixiang8320216 opened this issue
Jun 14, 2024
· 1 comment
Premise:
The current system time zone is Africa/Casablanca, and the time is 2025-02-23 02:45:10,544 DST,
quartz version: 2.3.2
Actions:
registers cron-type scheduled tasks with the quartz. :cronExpression29 5 2 23 2 ? 2025 (Daylight Saving Time exits.)
Execution result:
When the getTimeAfter (Date afterTime) function in CronTriggerImpl is invoked, the returned result is null. As a result, Caused by: org.quartz.SchedulerException: Based on configured schedule, the given trigger will never fire. is thrown.
The Quartz CronTrigger does not support the DST. Is there any solution?
The text was updated successfully, but these errors were encountered:
Premise:
The current system time zone is Africa/Casablanca, and the time is 2025-02-23 02:45:10,544 DST,
quartz version: 2.3.2
Actions:
registers cron-type scheduled tasks with the quartz. :cronExpression29 5 2 23 2 ? 2025 (Daylight Saving Time exits.)
Execution result:
When the getTimeAfter (Date afterTime) function in CronTriggerImpl is invoked, the returned result is null. As a result, Caused by: org.quartz.SchedulerException: Based on configured schedule, the given trigger will never fire. is thrown.
The Quartz CronTrigger does not support the DST. Is there any solution?
The text was updated successfully, but these errors were encountered: