Prefect Interval Schedules: If the prefect agent i...
# prefect-getting-started
m
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
yes it picks up overdue flow runs
m
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
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