similar to having multiple clocks in the docs (https://docs.prefect.io/core/concepts/schedules.html#clocks)? What would be the recommended way to have a single flow that can run on 2 schedules (say every 5 minutes and every 30 minutes)? I guess we could probably achieve this with a 1 minute schedule and check within the flow run if
now().minute == 30
or
now().minute % 5 == 0
or some similar method but just wondering what would "prefecters" do...
✅ 1
n
nicholas
05/14/2021, 12:35 AM
Hi @Jeremy Yeo - this is definitely possible! To do that, you could do this:
Hey @nicholas - just realised that the example on the page I linked is exactly this - 2 different intervals... my eyes apparently failed me when reading that page 😛 thank you though.
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.