Skip to content

Interface: IntervalTaskOptions

Defined in: packages/scheduler/src/interfaces/scheduler.interface.ts:36

Options for interval tasks

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
executeOnInit?booleanWhether to execute the task immediately upon registrationSchedulerTaskOptions.executeOnInitpackages/scheduler/src/interfaces/scheduler.interface.ts:15
name?stringTask name for identificationSchedulerTaskOptions.namepackages/scheduler/src/interfaces/scheduler.interface.ts:10
stopOnShutdown?booleanWhether to stop the interval when the application is shutting down-packages/scheduler/src/interfaces/scheduler.interface.ts:40
timeout?numberTimeout in millisecondsSchedulerTaskOptions.timeoutpackages/scheduler/src/interfaces/scheduler.interface.ts:20

Released under the MIT License.