I have this script which basically goes to a website… logs in a user and then cleans up. Repeats every 15 minutes. We expect the server to choke every hour or so which we are trying to log.
The problem is… when is does die… my script stops. I thought I had build it not to exit… just clean up and try again in 15 minutes… but apparently… I’m missing something.
How do you tell a script, “Look, no matter what happens… even if you clean up dies… try again in 15 minutes.”
This is what I got…
repeat 1000 times
Put "STARTDuplicateSMSFinder"
try
Do stuff
// Wait
Put "Start 15 Minute Wait"
Wait 900.00
catch
// LOG
Log stuff
// CLEAN UP
Clean up stuff
end try
// CLEAN UP
Clean up stuff
end repeat