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.
Please register or sign in to comment