How to Handle the misfire in Quartz

2.9k views Asked by At

I am working with Quartz

I have set

 CronTrigger trigger = newTrigger().
                withIdentity(triggerKey).
                withSchedule(
                cronSchedule(cronExpression).
                withMisfireHandlingInstructionDoNothing()  //or other
                ).build();

This is behaving when i restart the server. It's continuously printing info message that

"Handling the first 20 triggers that missed their scheduled fire-time. More misfired triggers remain to be processed

and not able to trigger the previously scheduled jobs. if i create a new schedule it triggers the only new job for old jobs it's keep on showing the above massage. Any one please help me to solve this

1

There are 1 answers

1
user3698159 On

While setting the trigger you have set to do nothing with the misFired triggers.So scheduler has just ignored the misfired triggers.