Is there any way to disable a schedule set in code from cloud? Or set parameters per schedule in cloud?
j
Jim Crist-Harif
03/24/2021, 2:26 PM
You can disable schedules completely via the cloud UI (switch in the upper-right corner). The cloud UI does not support configuring parameters-per-schedule when adding schedules to a flow, but you can do that via code and it will run fine on cloud (https://docs.prefect.io/core/concepts/schedules.html#varying-parameter-values).
This is super helpful. Just to be clear on the use case:
1. I’d like to be able to create Scheduled runs with specific parameters either in Cloud (now possible) or through code (already possible)
2. Be able to disable/enable individual schedules in Cloud that were created either in Code or via the UI
The PR above already fixes our main blocker, but it would be nice to have the ability to define the schedules in code (so we have change tracking) and be able to disable each individually in Cloud in case of maintenance or debugging needs.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.