Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Labels
needs:review Needs review / investigation needs:testcase

Comments

@jixiang8320216
Copy link

jixiang8320216 commented Jun 14, 2024

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.

image

The Quartz CronTrigger does not support the DST. Is there any solution?

@lprimak

This comment was marked as outdated.

@jhouserizer jhouserizer added needs:review Needs review / investigation needs:testcase labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:review Needs review / investigation needs:testcase
Projects
None yet
Development

No branches or pull requests

3 participants