Skip to content

Interface: CronTaskOptions

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

Options for cron 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
timeout?numberTimeout in millisecondsSchedulerTaskOptions.timeoutpackages/scheduler/src/interfaces/scheduler.interface.ts:20
timeZone?stringTimezone for the cron expression-packages/scheduler/src/interfaces/scheduler.interface.ts:30

Released under the MIT License.