https://prefect.io logo
s

Scott Aefsky

02/24/2022, 2:53 PM
Is there any way to set a schedule as "inactive" on registration? Every time our CI/CD system rebuilds and registers, any schedules that we have set as inactive in the UI get reactivated. This is particularly an issue for our dev environment, where we don't usually want flows running on a schedule. Thanks!
k

Kevin Kho

02/24/2022, 2:54 PM
If using
flow.register
there is the parameter
set_schedule_active
and you can set to False
If using the CLI, use the
--schedule/--no-schedule
flag
s

Scott Aefsky

02/24/2022, 2:55 PM
Awesome, thanks!