Another thing regarding Schedules. According to <t...
# ask-community
h
Another thing regarding Schedules. According to this doc page:
Copy code
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
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
@Dominik Wagner have you known how to declare the Parameters and Infrastructure in Deployment.yaml?
h
Thanks Dominik, wish that we can declare the schedule programmatically though
k

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)