Hello, how can I set my flow to run on the 2nd Tue...
# ask-community
m
Hello, how can I set my flow to run on the 2nd Tuesday of each month at 6am ? The chron job "0 6 8-14 * TUE" isn't working for me as it's running every day between the 8th and 14th of the month and on Tuesdays. I'm trying to update this in the UI under Settings->Schedules
m
For this case you can set it in interactive api like this:
Copy code
mutation {
  set_flow_group_schedule(input: {flow_group_id: "", cron_clocks: [{cron: "0 6 * * 2#2"}]}) {
    success
  }
}
You can find flow group id in the details panel for flow dashboard in UI
upvote 2
n
The UI should be able to handle this as well so I'll put in a PR that we can hopefully get out soon 👍
(we don't currently allow hash characters as part of the cron form validation)
Following up: we've released the above PR so you should be able to use hash characters in the way @Mariia Kerimova described above from the UI 🙂
m
Thank you Nicholas for quick fix 🚀
😄 1