To send text / sms when a job is not completed or failed, you may refer to thisĀ tutorial.