perl have function run every hour
Posted on 2009-04-12
I have a loop in perl which pretty much goes forever. I have a sleep in this function, which also gets a webpage, so I don't really know how long each loop takes. I would like my script to call a function every hour (or close to each hour). How can I do this using a loop?