@staticmethod
def get_execution_status(exit_code):
    """ return the execution code for a job """
    if exit_code > 0 and exit_code != 137:
        return 'error'
    elif exit_code == 137:
        return 'warning'
    else:
        return 'success'
