2015-04-13, 17:22
Just put the call to the script in a loop.
Edit: Actually you can increase the number of retry attempts by specifying a value for @rpc.retry - the default is 12 retry attempts, so just specify something like @rpc.retry=99999. There is a 5 second wait between each retry attempt (the wait period is not configurable) which will give you some idea how long the script will keep retrying before giving up completely (the default, 12, is obviously 1 minute before the script dies).
Edit: Actually you can increase the number of retry attempts by specifying a value for @rpc.retry - the default is 12 retry attempts, so just specify something like @rpc.retry=99999. There is a 5 second wait between each retry attempt (the wait period is not configurable) which will give you some idea how long the script will keep retrying before giving up completely (the default, 12, is obviously 1 minute before the script dies).