Enum SimpleTriggerMisfireInstruction
- Namespace
- Quartz
- Assembly
- Quartz.dll
What an ISimpleTrigger should do when it misses a firing.
public enum SimpleTriggerMisfireInstruction
Fields
FireNow = 1Fire now.
Intended for one-shot (non-repeating) triggers. On a repeating trigger this behaves like NowWithRemainingCount.
Spelled
FireNowin XML and JSON scheduling data.IgnoreMisfires = -1Never treat a missed firing as a misfire: fire as soon as possible and carry on as if the firing had happened on time.
A trigger that missed many firings will fire that many times in rapid succession while it catches up.
Spelled
IgnoreMisfirePolicyin XML and JSON scheduling data.NextWithExistingCount = 5Reschedule to the next scheduled time after now, keeping the repeat count as it stands.
Spelled
RescheduleNextWithExistingCountin XML and JSON scheduling data.NextWithRemainingCount = 4Reschedule to the next scheduled time after now, with the repeat count set to what it would have been had nothing been missed.
If every firing was missed, the trigger goes straight to completed.
Spelled
RescheduleNextWithRemainingCountin XML and JSON scheduling data.NowWithExistingCount = 2Reschedule to now, keeping the repeat count as it stands.
The trigger forgets the start time and repeat count it was originally set up with. The trigger's end time is still honored, so a trigger whose end time has passed will not fire.
Spelled
RescheduleNowWithExistingRepeatCountin XML and JSON scheduling data.NowWithRemainingCount = 3Reschedule to now, with the repeat count set to what it would have been had nothing been missed.
The trigger forgets the start time and repeat count it was originally set up with. If every remaining firing was missed, the trigger completes after firing now.
Spelled
RescheduleNowWithRemainingRepeatCountin XML and JSON scheduling data.SmartPolicy = 0Let the scheduler pick the policy, based on the trigger's repeat count and interval. This is the default.
Spelled
SmartPolicyin XML and JSON scheduling data.
Remarks
Each value is the number a trigger stores in MisfireInstructionCode, which is family-agnostic and therefore still an int. Casting between the two is deliberate and safe.