Yes, you can do this in BatchPatch. Your job queue would look something like this:
Step 1: Run the local command, which executes your script. The script must have a built-in function to wait 1 minute and loop and try again if the result is 1.
Step 2: Use one of the following special job queue items, depending on your needs. Failure/error is any non-0 return value from your script. If your script returns 0 then step 3 will execute. If the script returns a non-0 value then step 2 will terminate according to which item below you have used in the job queue:
*Terminate queue if previous actions fails/errors (terminates just the job queue for just the executing row in the grid. The rest of the multi-row sequence will continue.)
*Abort basic multi-row sequence if previous action fails/errors (terminates the entire basic multi-row sequence)
*Abort advanced multi-row sequence if previous action fails/errors (terminates the entire advanced multi-row sequence)
I hope this helps.
-Doug