https://prefect.io logo
Title
a

Andrew Lawlor

05/03/2022, 8:41 PM
im looking to run a flow on a schedule of every day except for every other monday (on those days i want to run a different flow). what is the best way to do that via a schedule?
k

Kevin Kho

05/03/2022, 8:43 PM
That’s a very hard one. I suggest RRules Clock is the best bet. But if you can’t achieve it on the schedule, I would just skip the flow that day through a state handler and return success
a

Anna Geller

05/03/2022, 10:57 PM
RRule will work. If you need more details on that, here is a topic discussing this for Prefect 2.0 For 1.0, you can also use a combination of filters and adjustments to accomplish that