I want to force fail a dag after say 3 hours have passed. I have a dag that is scheduled for 2am and one that is scheduled for 6am. I want the 2am dag to stop and give precedence to the one scheduled at 6am.
execution_timeout
dagrun_timeout
NOTE: This is like a cross-dag dependency where I want to give preference to a dag during certain hours
Programmatically stopping a dag like I wanted to do above is not possible. I solved my issue, giving priority to a dag by assigning a larger pool to it.
2.1m questions
2.1m answers
60 comments
57.0k users