Misfired Simple triggers are executing Jobs in spite of Setting misfire policy to “IGNORE”


I am using Quartz in .Net.
Irrespective of "quartz.jobStore.misfireThreshold" i set and setting misfire policy to ignore, still i see job getting executed.



Ideally this should never happen.



I have initialized both JobListener and Trigger listeners for the same
Here is my snippet



.WithMisfireHandlingInstructionIgnoreMisfires() fires all triggers that were missed as soon as possible and then goes back to ordinary schedule. You should use .WithMisfireHandlingInstructionDoNothing(), trigger with explicitly set "MISFIRE_INSTRUCTION_DO_NOTHING" misfire instruction handler, meaning that all misfired executions are discarded, it simply waits for next scheduled time. A misfire occurs if a trigger "misses" its firing time because there are no available threads in Quartz’s thread pool for executing the job






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

大跃进

马相伯