Issue with trigger after DST #1441
Replies: 2 comments 5 replies
-
Quartz calculates next fire time for trigger and waits for it. If you manually move the clock backwards it will take an hour to reach the pre-calculated fire time. You can experiment with calculation logic by using |
Beta Was this translation helpful? Give feedback.
-
There still appears to be an issue every few time changes (and isn't just DST related), even when you expect the triggers to fire. There is a reliable way to trigger this: As a slight complication, we cannot trust the "SystemEvents.TimeChanged" event, this one will simply not fire when running in a service (and in a few other undocumented scenarios, however running a form and overwriting WndProc and catching WM_TIMECHANGE works). |
Beta Was this translation helpful? Give feedback.
-
Note: I have already gone through the FAQ section on DST impact with respect to the simple and cron jobs. I still have a problem.
We are using a simple schedule with 5-second intervals. If I move my system clock to 1 hour before manually to simulate the DST, The job trigger stops. It resumes only after an hour. I am sure that we are not using Cron schedule. Can anyone tell why this is happening?
v3.2.3
To reproduce: Set up a simple schedule for 5 seconds. Print a console message when the job is fired. Change the time manually one hour back. You will notice that the triggers will stop.
Beta Was this translation helpful? Give feedback.
All reactions