Hey all, What would be the best way of identifyin...
# ask-community
e
Hey all, What would be the best way of identifying and stopping long running jobs?
j
One option could be to have a run_status_sensor that looks for RUNNING jobs and then determines how long they have been running. You might be able to issue cancel requests directly in the sensor (i’m not super sure about this, i’ve never tried it and it’s not really a standard usage pattern) or you could send an alert to slack or email or something to tell you to manually cancel the job
e
i like this idea, especially if we could automate the run stoppage with a notification otherwise only a notification would be acceptable i was also wondering if querying the runs table + sending a request to the dagit server would be a good solution