if I give a deployment some cron schedule, if one ...
# prefect-community
a
if I give a deployment some cron schedule, if one run fails it just keeps running the later ones. is there a way to make the schedule pause so they're guaranteed to run sequentially?
d
Or u could just disable the deployment schedule using prefect api when the flow fails
a
is there a particular like
on_failure
callback? or are you suggesting something more like wrapping the contents of my flow in
try/except
block
I found this
<https://docs.prefect.io/2.10.3/api-ref/prefect/cli/deployment/#prefect.cli.deployment.pause_schedule>
, but why is it only CLI? can this be called from inside a flow?