Interface: ScheduledTaskOptions
Options for configuring a scheduled task.
Extends
Options
Properties
customJobOptions?
optionalcustomJobOptions:ScheduledTaskCustomJobOptions
Custom options to pass to the job scheduler.
Defined in
lib/structures/ScheduledTask.ts:45
interval?
optionalinterval:null|number
The interval (in milliseconds) at which the task should run.
Defined in
lib/structures/ScheduledTask.ts:37
pattern?
optionalpattern:null|string
A cron pattern specifying when the task should run.
Defined in
lib/structures/ScheduledTask.ts:41
timezone?
optionaltimezone:null|string
The timezone to use for the task.
Default
'UTC'