https://prefect.io logo
Title
o

Oscar Björhn

08/14/2022, 11:22 AM
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

Anna Geller

08/14/2022, 12:56 PM
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

Oscar Björhn

08/14/2022, 3:44 PM
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

Ghislain Picard

08/15/2022, 7:11 AM
I'm blocked by this, what is the syntax for the schedule in the yaml ?
a

Anna Geller

08/15/2022, 8:32 AM
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