Table of Contents

Enum SimpleTriggerMisfireInstruction

Namespace
Quartz
Assembly
Quartz.dll

What an ISimpleTrigger should do when it misses a firing.

public enum SimpleTriggerMisfireInstruction

Fields

FireNow = 1

Fire now.

Intended for one-shot (non-repeating) triggers. On a repeating trigger this behaves like NowWithRemainingCount.

Spelled FireNow in XML and JSON scheduling data.

IgnoreMisfires = -1

Never 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 IgnoreMisfirePolicy in XML and JSON scheduling data.

NextWithExistingCount = 5

Reschedule to the next scheduled time after now, keeping the repeat count as it stands.

Spelled RescheduleNextWithExistingCount in XML and JSON scheduling data.

NextWithRemainingCount = 4

Reschedule 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 RescheduleNextWithRemainingCount in XML and JSON scheduling data.

NowWithExistingCount = 2

Reschedule 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 RescheduleNowWithExistingRepeatCount in XML and JSON scheduling data.

NowWithRemainingCount = 3

Reschedule 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 RescheduleNowWithRemainingRepeatCount in XML and JSON scheduling data.

SmartPolicy = 0

Let the scheduler pick the policy, based on the trigger's repeat count and interval. This is the default.

Spelled SmartPolicy in 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.

See Also