i wanna to write a SQL script to get the misfire jobs,
There is some tables like QRTZ_TRIGGERS,
how can i implement the sql?
maybe compare next_fire_time + misfireThreshold< now()?
i wanna to write a SQL script to get the misfire jobs, There is
Share
It goes something like this:
Basically you ask for all waiting triggers with
NEXT_FIRE_TIMEparameter far in the past. How far? Quartz assumes all triggers that are more thanorg.quartz.jobStore.misfireThresholdlate are misfired. By default Quartz treats trigger as misfired if it was scheduled to run more than a minute ago. So take:See
StdJDBCConstantsfor more details.