in reply to Script to poll every hour

Calculate the time in seconds until the desired next poll time and put your script to sleep for that many seconds.