I have a script that fails at a point due to a known issue with the app it's running. After a few more runs it continues on. What i'd like to do at this point is if it fails to run the Clean_up etc and restart the script. Is this possible?
Below is a snippet:
nimAlarmSimple(4, "DM - failed")
nimAlarmSimple(0, "DM - success")