1.

What Happens When A Scheduled Job Fails To Trigger?

Answer»

The MISFIRE conditions is specific to each trigger. For the CRON trigger, a misfire condition is SPECIFIED in the job creation or will default to the smart policy. To CUSTOMIZE the misfire condition specific to the cron trigger there are three options; withMisfireHandlingInstructionDoNothing, withMisfireHandlingInstructionFireAndProceed, withMisfireHandlingInstructionIgnoreMisfires.

You can also create a custom trigger by implementing the TriggerListener INTERFACE and define the triggerMisfired method.

1 public void triggerMisfired(Trigger trigger);

The misfire conditions is specific to each trigger. For the cron trigger, a misfire condition is specified in the job creation or will default to the smart policy. To customize the misfire condition specific to the cron trigger there are three options; withMisfireHandlingInstructionDoNothing, withMisfireHandlingInstructionFireAndProceed, withMisfireHandlingInstructionIgnoreMisfires.

You can also create a custom trigger by implementing the TriggerListener interface and define the triggerMisfired method.

1 public void triggerMisfired(Trigger trigger);



Discussion

No Comment Found