https://prefect.io logo
t

Tomas Moreno

12/08/2022, 8:32 PM
is there any easy way to schedule a flow for say every 30m at the beginning of the day, and then when the flow succeeds once skip the rest of the runs for that day?
1
m

Mike Grabbe

12/08/2022, 8:56 PM
Perhaps you could accomplish this by configuring a series of flow-level retries? Like this:
@flow(name="your_flow", retries=8, retry_delay_seconds=1800)
The advantage here is that after it fails for the 8th time, it could send you an email or slack alert.
🙌 1
t

Tomas Moreno

12/08/2022, 9:32 PM
oooooo that's interesting mike!
thank you for the info!
👍 1
3 Views