You can pause and resume deployment schedules individually or in bulk. This can be useful for maintenance windows, migration scenarios, or organizational changes.Documentation Index
Fetch the complete documentation index at: https://docs.prefect.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
To manage deployment schedules, you need:- A Prefect server or Prefect Cloud workspace
- One or more deployments with schedules
- Prefect installed
Manage specific schedules
To pause or resume individual deployment schedules, you need the deployment name and schedule ID.List schedules for a deployment
First, list the schedules to get the schedule ID:Pause a specific schedule
Resume a specific schedule
Manage schedules in bulk
When you have many deployments with active schedules, you can pause or resume all of them at once using the--all flag.
Pause all schedules
Use the--all flag with the pause command to pause all active schedules across all deployments:
Resume all schedules
Similarly, use the--all flag with the resume command to resume all paused schedules:
Skip confirmation prompt
To skip the interactive confirmation (useful for CI/CD pipelines or scripts), use the--no-prompt flag:
Use cases
Maintenance windows
Pause all schedules during system maintenance:Development environment management
Quickly pause all schedules in a development environment:Important notes
See also
- Create schedules - Learn how to create schedules for your deployments
- Run deployments - Learn how to trigger deployment runs manually
- Deployment concepts - Understand deployments and their schedules