Prefect Interval Schedules: If the prefect agent is not running for a while...
does it try to pick up missed deployment intervals, or does the interval clock start over on agent restart?
Is interval trigger managed by agent or orion db server?
✅ 1
r
redsquare
03/18/2023, 7:59 PM
yes it picks up overdue flow runs
m
merlin
03/18/2023, 8:54 PM
Yup just tried it out on a 1-min scheduled interval.
I'm looking for a pattern to 'run only if deployment has not run in last X hours', basically I have an intermittently available service.
r
redsquare
03/18/2023, 9:58 PM
personally I would have two flows, a scheduled flow that invokes the other flow when applicable
✅ 1
so dont schedule the worker flow, let the other invoke if conditions are correct