schedule/every/delay task durable: its next run time is
persisted in the scheduler’s ScheduleStore under id, so it survives restarts, and
each occurrence is claimed under a fenced lease so only one replica runs it.
Properties
id
TypeError.
missed?
'skip'.
maxCatchUp?
'catch-up' runs. Default 10. Positive integer.
leaseMs?
'2m')
or ms. Renewed every third of it while the handler runs; a crashed runner’s
occurrence is retried by another process once it expires. Default '60s'.
timeZone?
TypeError on every/delay): the IANA zone the cron fields are
read in, with the daylight-saving rules of CronTaskOptions.timeZone. Default:
SchedulerOptions.timeZone, else the process zone. The zone is part of the stored spec
(TZ=<zone> <cron>), so adding or changing it recomputes the task’s next run.