Schedules
A pipeline runs itself when its spec contains a scheduler block. The schedule is stored with the pipeline - there is no separate schedule object to create.
At a glance
- Spec-native - a
schedulerblock in the spec; there is no separate schedule object. - Cron only -
type: cronwith a standard 5-field expression;fixed_rateandfixed_delayfail at runtime. - One live run - a due trigger is skipped while the pipeline already has a
RUNNINGrun.
Common shape
Code
| Field | Required | Purpose |
|---|---|---|
type | yes | cron is the only supported type |
cron | with type: cron | standard 5-field UNIX cron (minute hour day month weekday) |
- One schedule per pipeline. It is picked up automatically when the pipeline is created or updated - there is no separate "create schedule" step.
fixed_rateandfixed_delaypass schema validation but are not implemented - they fail at runtime withUnknown schedule type.- Times are evaluated in the scheduler timezone (
PIPELINE_SCHEDULER_TIMEZONE, UTC by default). The schema also acceptstimezone,start_at,end_at,max_runs,seconds, andrate, but the runtime reads onlytypeandcron- the rest have no effect today. - The platform checks for due schedules on a poll interval (
PIPELINE_SCHEDULER_POLL_INTERVAL_MS, 30 seconds by default) and fires at mostPIPELINE_SCHEDULER_DUE_LIMIT(50) due pipelines per tick.
Enabling and disabling
Code
| Action | Effect |
|---|---|
| Enable | Recomputes the next run time from now |
| Disable | Pauses only - the cron expression and offsets are kept |
Both require the pipeline:schedule permission.
While a run is active
A scheduled trigger is skipped if the pipeline already has a RUNNING run. Long-running streaming pipelines do not mix with cron schedules - start those on demand instead (Batch vs Stream).
Restarts and missed runs
The next run time is persisted. If the platform was down when a schedule came due, the schedule fires once on startup and then advances to the next regular time. Missed runs are not replayed, and there is no automatic backfill (Checkpoints and Offsets).
Scheduled runs are attributed to the system user, so run history stays clear about what triggered a run.
On-demand runs
Any saved pipeline can also be run at any time:
Code
Manual and scheduled runs appear identically in run history, with different creators.
Related pages
- Execution Lifecycle - statuses, stages, and run history
- Checkpoints and Offsets - restart and no-backfill behavior
- Batch vs Stream - why streaming pipelines run on demand
- User Manual: Schedules - the task-oriented view