go ahead... be a heretic | |
PerlMonks |
Re: sleeping for a minuteby linuxer (Curate) |
on Feb 18, 2010 at 21:13 UTC ( [id://824033]=note: print w/replies, xml ) | Need Help?? |
And here's a non-perl suggestion: If your script runs on a linux or unix-like system, you can create a cronjob, which runs your script every minute. In Windows you could set up a scheduled task to do so. I'd prefer running the script every minute (by cron or scheduled task) than having it run continuously and sending it regularly to sleep for a minute.
In Section
Seekers of Perl Wisdom
|
|