Class CronBuilder
Fluent builder for Cron endpoint URIs. Scheme: cron.
public sealed class CronBuilder
Inheritance
Methods
Build()
public string Build()
CustomCalendar(string)
Reference to an ICalendar in the route context registry.
public CronBuilder CustomCalendar(string calendarName)
DeleteJob(bool)
Delete the job when the route stops (default: true).
public CronBuilder DeleteJob(bool value = true)
DurableJob(bool)
Keep the job even if no triggers reference it.
public CronBuilder DurableJob(bool value = true)
MisfireInstruction(QuartzMisfirePolicy)
Misfire handling strategy.
public CronBuilder MisfireInstruction(QuartzMisfirePolicy policy)
PauseJob(bool)
Pause the trigger on route stop instead of deleting.
public CronBuilder PauseJob(bool value = true)
PrefixJobNameWithEndpointId(bool)
Prefix the job name with the endpoint ID.
public CronBuilder PrefixJobNameWithEndpointId(bool value = true)
Recoverable(bool)
Re-execute the job on failover/recovery.
public CronBuilder Recoverable(bool value = true)
Stateful(bool)
PersistJobDataAfterExecution + DisallowConcurrentExecution.
public CronBuilder Stateful(bool value = true)
TimeZone(string)
Time zone for the cron trigger (IANA ID, e.g. "Europe/Moscow").
public CronBuilder TimeZone(string tz)
TriggerStartDelay(long)
Delay in ms before the first trigger fire (default: 500).
public CronBuilder TriggerStartDelay(long ms)