I seem to be unable to create cron-based schedules...
# prefect-community
o
I seem to be unable to create cron-based schedules using the GUI. Anyone know if this is a known issue or if there is some sort of work-around? I just get the message "Failed to create schedule", regardless of what I input. Interval-based schedules appear to work. Edit: Nevermind, seems to be a known issue. https://github.com/PrefectHQ/prefect/issues/6374
ūüĎć 1
a
Interesting, thanks for flagging, I could cross check with main branch once I'm home in the evening
I was able to reproduce on Cloud mobile that Cron can't be set from the UI, but Interval schedule works so you might use that as a workaround until it's fixed
o
Alright, thank you! I've developed a workaround for now (string replaced the schedule part of the deployment yaml between the build and the apply steps) so it's not a blocker for me personally.
ūüôĆ 1
g
I'm blocked by this, what is the syntax for the schedule in the yaml ?
a
Good pointer Oscar
Soon, you'll be able to pass it via build CLI too: --interval 60 would schedule your flow every minute
It was merged to main and might be released already this week