Scheduling
Learn how to set, pause and stop a schedule for pipelines.
Last updated
Was this helpful?
Learn how to set, pause and stop a schedule for pipelines.
Last updated
Was this helpful?
✅
Cron, Interval
✅
Cron, Interval
✅
Cron only
✅
Cron, One-time
✅
Cron, Interval
✅
Cron only
⛔️
N/A
⛔️
N/A
✅
Cron, Interval, One-time
⛔️
N/A
⛔️
N/A
⛔️
N/A
⛔️
N/A
⛔️
N/A
✅
Cron only
Check out for a practical guide on how to schedule a pipeline.
The way pipelines are scheduled depends on the orchestrator you are using. For example, if you are using Kubeflow, you can use the Kubeflow UI to stop or pause a scheduled run. However, the exact steps for stopping or pausing a scheduled run may vary depending on the orchestrator you are using. We recommend consulting the documentation for your orchestrator to learn the current method for stopping or pausing a scheduled run.
The normal pattern for updating a schedule is:
Find schedule on ZenML
Match schedule on orchestrator side and delete
Delete schedule on ZenML
Re-run pipeline with new schedule
Note that ZenML only gets involved to schedule a run, but maintaining the lifecycle of the schedule (as explained above) is the responsibility of the user. If you run a pipeline containing a schedule two times, two scheduled pipelines (with different/unique names) will be created.
Check out our to learn more about the different scheduling options.
A concrete example can be found on the docs, and this pattern can be adapted for other orchestrators as well.