Tvern Posted October 9, 2010 Posted October 9, 2010 Looks like it should function perfectly fine, even if not my personal preference of doing it, but if you want to stay with the 1 minute sleeps, make the first one a little longer than a minute and the second a little shorter. As sleep() is not 100% accurate you've got a theoretical change of the script running twice in a minute, or not at all in an hour. I admit it's highly unlikely that will happen, but it's an easy fix so...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now