Interface IRecurrenceTrigger
- Namespace
- Quartz
- Assembly
- Quartz.dll
A trigger that fires based on an iCalendar RFC 5545 recurrence rule (RRULE).
public interface IRecurrenceTrigger : ITrigger
- Inherited Members
Remarks
This trigger supports complex scheduling patterns that cannot be expressed with CRON expressions, such as "every 2nd Monday of the month" or "every other week on Monday, Wednesday, and Friday".
The recurrence rule string follows the RFC 5545 RRULE format, for example:
FREQ=MONTHLY;BYDAY=2MO or FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,WE,FR.
This is a read model: to change a trigger's schedule, rebuild it with GetTriggerBuilder() and hand it to RescheduleJob(TriggerKey, ITrigger, CancellationToken).
Properties
MisfireInstruction
What the scheduler does when this trigger misses a firing.
RecurrenceTriggerMisfireInstruction MisfireInstruction { get; }
Property Value
- See Also
RecurrenceRule
The RFC 5545 RRULE string, e.g. "FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,WE,FR".
string RecurrenceRule { get; }
Property Value
TimeZone
The time zone within which recurrence calculations are performed. Defaults to Local if not set.
TimeZoneInfo TimeZone { get; }
Property Value
TimesTriggered
The number of times this trigger has already fired.
int TimesTriggered { get; }