I can't find any documentation for what happens wi...
# prefect-server
m
I can't find any documentation for what happens with late/missed runs. Say for example a flow is scheduled for 1x per day at 9am and the system crashes. Eventually I get the machine and agent back online 3 days later. What happens to all the previously scheduled runs?
k
The agent pulls all late runs and runs them by default when it comes back on.
m
Is there any config to only run the “latest” @Kevin Kho thank you.
k
For Prefect Cloud we have Automations that let you cancel flows if they are late by X amount of time.
For Prefect Server, you have to do something more like this where the run starts and then immediately cancels if it finds other copies of the flow already running
m
Thanks I'll take a look.