https://prefect.io logo
Title
h

Ha Pham

08/05/2022, 4:38 AM
Another thing regarding Schedules. According to this doc page:
Deployments are changing, and along with them the way you specify a schedule on a deployment. Stay tuned for updated guidance.
Currently it's not very clear to me how to set a schedule for my flows. Is it set in the flow code, or have to be set via the command line?
m

minhtuan

08/05/2022, 7:02 AM
I got this issue too. I was trying set it up on Prefect UI instead of the code. I couldn't find the command line of this. But you can try on Orion API to schedule.
m

minhtuan

08/05/2022, 9:42 AM
@Dominik Wagner have you known how to declare the Parameters and Infrastructure in Deployment.yaml?
h

Ha Pham

08/05/2022, 9:50 AM
Thanks Dominik, wish that we can declare the schedule programmatically though
k

Khuyen Tran

08/05/2022, 3:07 PM

This video

explains how you can schedule in 2.0
1
We are considering about introducing back the
Deployment
object in the future (possibly next week)