Novician has asked for the wisdom of the Perl Monks concerning the following question:
I would like to know how to create a perl programme that will run forever, something like a timer where it will push or copy a certain file to another directory at a certain hour everyday.
The timer i tried before, ran every second. Resource over-utilized is not the biggest concern, its only the second. The thing is that, my timer version runs for every second in that minute. Can i make it run like once in that minute i choose it to run?
my version timer that i used, utilizes a FOR loop. Is there a better way of coding it and also making it run once in that minute i specify.
The timer i tried before, ran every second. Resource over-utilized is not the biggest concern, its only the second. The thing is that, my timer version runs for every second in that minute. Can i make it run like once in that minute i choose it to run?
my version timer that i used, utilizes a FOR loop. Is there a better way of coding it and also making it run once in that minute i specify.
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: What is the best way to run periodic tasks (once per minute)?
by Corion (Patriarch) on Jul 26, 2000 at 12:53 UTC | |
Re: What is the best way to run periodic tasks (once per minute)?
by qi3ber (Scribe) on Jul 26, 2000 at 18:01 UTC | |
by flyingmoose (Priest) on Feb 03, 2004 at 00:25 UTC |
Back to
Seekers of Perl Wisdom