Learn how to pause, resume, and remove deployment schedules using the Prefect CLI.
You can pause and resume deployment schedules individually or in bulk.
This can be useful for maintenance windows, migration scenarios, or organizational changes.
Quickly pause all schedules in a development environment:
# Pause all dev schedulesprefect --profile dev deployment schedule pause --all# Resume when readyprefect --profile dev deployment schedule resume --all
Use caution with bulk operationsThe --all flag affects all deployment schedules in your workspace.
In interactive mode, you’ll be prompted to confirm the operation showing the exact number of schedules that will be affected.
Always verify you’re in the correct workspace/profile before running bulk operations.