When deploying through the CLI with --cron command.. Is there a way to add the timezone argument to this as there is when creating a deploy via python?
✅ 1
🙏 1
👍 1
a
Anna Geller
10/21/2022, 11:46 AM
yup there is:
Copy code
--cron "0 9 * * *" --timezone "America/New_York"
Anna Geller
10/21/2022, 12:03 PM
ahh I know what you mean, for now you can do that in a separate CLI command after build:
I've tried to encapsulate the rule both in " and ' and also without encapsulating it
a
Anna Geller
10/24/2022, 11:05 AM
CRON is easier anyway for a daily schedule, rrule is only needed for more complex scheduled. well done!
n
Nic
10/26/2022, 10:49 AM
Is there any plan to make it work with rrule? We might need some pretty complex scheduling down the line, and would be great if it was an opportunity
a
Anna Geller
10/26/2022, 11:51 AM
rrule is already fully supported
n
Nic
10/26/2022, 12:44 PM
prefect deployment set-schedule --rrule "FREQ=YEARLY;BYMONTH=1;BYMONTHDAY=1" --timezone "America/New_York" flowname/deployment return errors when i run it. Is it supported like this?
a
Anna Geller
10/26/2022, 4:23 PM
what problem are you trying to solve? what schedule do you want to assign? let's talk business problem rather than tech 🙂
n
Nic
10/26/2022, 4:58 PM
The team wants to be able to setup schedules like 'monday every third week', 'first Sunday in a month' and 'first weekday in a month'
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.