Public
Authored by Paul Korir

pattern to perform dying action on signal

If a job is terminated in LSF, we would like to know that it was terminated prematurely. This Python pattern does this. In this case it sends an email but anything can be done such as updating a database by calling an API endpoint with a termination status.

Edited
handle_signals.py 1.82 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment