IDriverDelegateSelectTriggersForRecoveringJobs Method

Quartz.NET 3.0 API Documentation
Select all of the triggers for jobs that are requesting recovery. The returned trigger objects will have unique "recoverXXX" trigger names and will be in the DefaultRecoveryGroup trigger group.

Namespace:  Quartz.Impl.AdoJobStore
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
Task<IReadOnlyCollection<IOperableTrigger>> SelectTriggersForRecoveringJobs(
	ConnectionAndTransactionHolder conn,
	CancellationToken cancellationToken = null
)

Parameters

conn
Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
The DB Connection
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskIReadOnlyCollectionIOperableTrigger
An array of ITrigger objects
Remarks

In order to preserve the ordering of the triggers, the fire time will be set from the ColumnFiredTime column in the TableFiredTriggers table. The caller is responsible for calling ComputeFirstFireTimeUtc(ICalendar) on each returned trigger. It is also up to the caller to insert the returned triggers to ensure that they are fired.
See Also

Reference