bot.schedule, bot.every or bot.delay.
Properties
id
cron?
interval?
runAt?
nextRun
isRecurring
durable?
true for a durable task (registered with DurableTaskOptions): its schedule
lives in a ScheduleStore, and cancel() also deletes the stored row. Absent on
in-memory tasks.
timeZone?
CronTaskOptions.timeZone,
DurableTaskOptions.timeZone or SchedulerOptions.timeZone). Absent when they are
read in the process zone, and on interval and one-shot tasks.
Methods
cancel()
Returns
void