Skip to main content
Defined in: scheduler/ScheduleStore.ts:28 Persisted state of one durable task.

Properties

id

Defined in: scheduler/ScheduleStore.ts:29

kind

Defined in: scheduler/ScheduleStore.ts:30

spec

Defined in: scheduler/ScheduleStore.ts:35 Cron expression, interval in ms, or one-shot delay in ms (as a string). A cron task with a time zone stores TZ=<zone> <cron> (an opaque string for the store).

nextRunAt

Defined in: scheduler/ScheduleStore.ts:37 Epoch ms of the next occurrence; null once a one-shot task has run (a tombstone).

lastRunAt?

Defined in: scheduler/ScheduleStore.ts:38

lastStatus?

Defined in: scheduler/ScheduleStore.ts:39

fencingToken

Defined in: scheduler/ScheduleStore.ts:44 Bumped by every successful ScheduleStore.claimDue; starts at 0 for a new id. Never goes backwards for an id, even across delete and a new register.

leaseOwner?

Defined in: scheduler/ScheduleStore.ts:45

leaseUntil?

Defined in: scheduler/ScheduleStore.ts:46

updatedAt

Defined in: scheduler/ScheduleStore.ts:47