An event may not be fired at the scheduled time due to multiple reasons. These are outlined as:

  • No thread is available 
  • System is busy

When the event is not fired at the scheduled time, it is considered as a delayed event. The delayed event is fired, when the thread becomes available or the system is not too busy. This delayed event is fired as long as delay is not more than misfire threshold. If delay is more than the misfire threshold, event is considered as a misfired event. The misfire threshold is specified by following parameter defined in quartz.properties file:

org.quartz.jobStore.misfireThreshold = 10000
10000 = 10 Seconds

10 seconds is the default value of misfire threshold, which can be changed, based on your requirements.

Setting the Action on Misfire Event property 

The process of changing the setting for the Action on Misfire Event property of an event, for example, file event, is explained below.  

  1. Click Configure > EVENTS > File.

  2. On the File Event manage page:

    1. Click More menu and then click Edit for the specific event you want to edit. 

    2. On the Edit File Event page, expand the Advanced Properties.



    3. In the Action on Misfire Event field, select the option Run Once to enable handling of misfire of the file event.

      The Run Once option will run only one collective instance of all the misfires for a particular event. The Ignore Misfire option will not run a misfired event.
       
      The default value for Action on Misfire Event field is set to Ignore Misfire.