Hi, apology if this question’s been asked but I co...
# prefect-ui
a
Hi, apology if this question’s been asked but I couldn’t find anything here nor on the Prefect docs. I have a CI/CD set up to deploy a flow in Dev with a schedule (like below) and then promote and deploy to Prod once it’s ready. How can I turn off the scheduling for Dev in between my development cycles (to minimise artifact generation e.g. file downloads etc) ? There is no option to do so in the UI. I am curious what are some of the approaches others use in their CI/CD to do this.
Copy code
schedule = Schedule(clocks=[mon_10am, mon_1230pm, tues_11am, wed_5am])

with Flow('test-flow', schedule = schedule) as flow:
k
The toggle is here in the UI
Or you can hit the GraphQL endpoint to turn off schedules
set_schedule_inactive
a
Thanks Kevin! I obviously didn’t look hard enough in the UI 🙂