Schedule your job to run once a day. Build a loop into it. Catch the error. When the job succeeds, exit the loop. When it fails because the connection is not available, pause for one hour and retry.
↧
Schedule your job to run once a day. Build a loop into it. Catch the error. When the job succeeds, exit the loop. When it fails because the connection is not available, pause for one hour and retry.