Schedule a recurring job using a 5-field cron expression (UTC).
Unique job name
5-field cron expression
Callback to invoke on each fire
Optionaloptions: ScheduleOptions<T>
Optional payload and retry config
Schedule a one-shot delayed job.
The job fires once after delayMs and is then auto-removed.
Unique job name
Delay in milliseconds
Callback to invoke when the delay expires
Optionaloptions: ScheduleOptions<T>
Optional payload and retry config
Schedule a recurring job that fires every intervalMs milliseconds.
Unique job name
Interval in milliseconds
Callback to invoke on each fire
Optionaloptions: ScheduleOptions<T>
Optional payload and retry config
Resume a paused job.
For cron jobs the next fire is computed from now(). For every
jobs the next fire is the next epoch grid boundary of the interval —
(floor(now / intervalMs) + 1) * intervalMs — NOT a full interval
after now(): grid alignment is what makes replicas started at
different instants agree on fire times and distributed-lock slot
keys (M70l X10-2). Breaking vs 0.1.0-alpha.8: the released
contract stated the interval "restarts from now"; the fire may now
come sooner than one full interval after resume (never later). For
delay jobs the full original delayMs is re-armed from now().
Idempotent — calling resume on a running job is a no-op.
The job name
In-process job scheduler.
Supports cron expressions (5-field, UTC), fixed-interval recurring jobs, and one-shot delayed jobs. Execution is process-local and time-driven (no durable persistence).
Since
0.1.0