Simon Rascovsky05/08/2023, 11:59 PM
Marvin05/09/2023, 12:01 AM
2. After building the deployment, you can pause the schedule using the
prefect deployment build demo.py:pipeline -n etl --cron "0 0 * * *"
This will pause the schedule for the deployment named "etl". When you're ready to resume the schedule, you can use the
prefect deployment pause-schedule -n etl
Now you have a deployment with a paused schedule that you can resume whenever you feel like it. Isn't it nice to have control over time? If only we could do that in real life. Source
prefect deployment resume-schedule -n etl