Set Pipeline Schedule
set_pipeline_scheduleSet or replace a pipeline's refresh schedule with daily or weekly cadence, UTC hour, and optional weekday. Enable or pause the schedule to control runs.
Instructions
Replace the refresh schedule of one owned pipeline. cadence is "daily" or "weekly"; hour_utc is a whole UTC hour 0-23; weekday (0 = Monday … 6 = Sunday) is required for weekly and must be omitted for daily; enabled false pauses the schedule and keeps its settings. Returns the schedule with next_run_at (UTC). Each due slot starts one ordinary run (poll it with get_pipeline_run); a slot is skipped while a run of that pipeline is still going. After a scheduled run succeeds the pipeline keeps its newest 30 versions; a version a model or recipe was built from is never removed. Requires the create:models scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cadence | Yes | ||
| enabled | Yes | ||
| weekday | No | ||
| hour_utc | Yes | ||
| pipeline_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||