Soham
07/15/2024, 6:00 PMMarvin
07/15/2024, 6:00 PMschedules
section in your prefect.yaml
file:
deployments:
...
schedules:
- cron: "0 0 * * *"
timezone: "America/Chicago"
active: false
- cron: "0 12 * * *"
timezone: "America/New_York"
active: true
- cron: "0 18 * * *"
timezone: "Europe/London"
active: true
2. Per-Schedule Parameters:
There is an ongoing discussion in the GitHub issue #14524 about supporting different parameters for each schedule in a single deployment. As of now, parameters can only be set for a deployment as a whole. However, support for multiple schedules with their own parameters is planned.
If you need to implement specific parameters for each schedule before this feature is officially supported, you might have to create separate deployments for each parameter set, even though this comes with a drawback of cluttering the deployments list.
For more detailed and up-to-date information, you should track the mentioned GitHub issue and keep an eye on the Prefect documentation regarding schedules.
Is there anything else you would like to know about scheduling in Prefect or other functionalities?