Enum CalendarIntervalTriggerMisfireInstruction
- Namespace
- Quartz
- Assembly
- Quartz.dll
What an ICalendarIntervalTrigger should do when it misses a firing.
public enum CalendarIntervalTriggerMisfireInstruction
Fields
DoNothing = 2Skip the missed firings and resume at the next scheduled time.
Spelled
DoNothingin XML and JSON scheduling data.FireAndProceed = 1Fire once now, then resume the schedule.
Spelled
FireOnceNowin XML and JSON scheduling data.IgnoreMisfires = -1Never treat a missed firing as a misfire: fire every missed firing as soon as possible.
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.SmartPolicy = 0Let the scheduler pick the policy. This is the default, and for a calendar-interval trigger it means FireAndProceed.
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.