Class CronEndpointOptions
Cron endpoint options.
public class CronEndpointOptions : EndpointOptions
Inheritance
Inherited Members
Properties
CustomCalendar
Name of an ICalendar in the route context registry to use for exclusions.
[RegistryReference(typeof(ICalendar))]
public string? CustomCalendar { get; set; }
DurableJob
Keep the job in the scheduler even if no triggers reference it (default: false).
public bool DurableJob { get; set; }
EndAt
Trigger end date (ISO 8601 format). If not set, runs indefinitely.
public string? EndAt { get; set; }
GroupName
Quartz group name. Parsed from URI path or defaults to "redb".
public string GroupName { get; set; }
MisfireInstruction
Misfire handling strategy (default: trigger-type-specific default).
public QuartzMisfirePolicy MisfireInstruction { get; set; }
PauseJob
Pause the trigger when the route stops instead of deleting (default: false).
public bool PauseJob { get; set; }
PrefixJobNameWithEndpointId
Whether to prefix the job name with the endpoint ID (default: false).
public bool PrefixJobNameWithEndpointId { get; set; }
RecoverableJob
Re-execute the job on failover/recovery (default: false).
public bool RecoverableJob { get; set; }
StartAt
Trigger start date (ISO 8601 format). If not set, starts immediately.
public string? StartAt { get; set; }
Stateful
Use PersistJobDataAfterExecution + DisallowConcurrentExecution (default: false).
public bool Stateful { get; set; }
TimeZone
Time zone for the cron trigger (IANA ID, e.g. "Europe/Moscow"). Default: local.
public string? TimeZone { get; set; }
TriggerStartDelay
Delay in ms before the first trigger fire (default: 500).
public long TriggerStartDelay { get; set; }
Methods
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()