Skip to content
Discussion options

You must be logged in to vote

hi @larrieu-olivier - thanks for the discussion and good question!

your proposed setup makes sense to me.

When restarting the server I would like to cancel all tasks whose status is "Late" and whose schedule date is greater than 3 hours for example.

my initial reaction was to use an automation to delete Late flow runs after some time interval but I realize you might undesirably replay Late runs at startup if the automation doesn't fire before your workers pick up some runs, which is maybe what you were referring to here:

I tried to manage it with "automations" but that doesn't completely solve the problem.

my first (heavy-handed) instinct would be to have a setup script that runs before

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@larrieu-olivier
Comment options

Answer selected by larrieu-olivier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants