in reply to Pause Loop

Have you considered using a cronjob instead?

Then the loop would become superfluous and you could make it run the entire script without a stop.