Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Does anyone know if there is an easy way to run a script contunosuly everyday and have it sleep until 1:00 AM, where it then runs until completion, and then sleeps again until the following day at 1:00 AM
I have thought about using the sleep command but depending on when the script gets started, it needs to determine how long before 1:00 AM, which actually I can calculate when the script gets executed.
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Timer
by Nitrox (Chaplain) on Dec 18, 2002 at 21:48 UTC | |
by The_Rev (Acolyte) on Dec 18, 2002 at 21:50 UTC | |
|
Re: Perl Timer
by djantzen (Priest) on Dec 18, 2002 at 21:48 UTC | |
by The_Rev (Acolyte) on Dec 18, 2002 at 21:54 UTC | |
by simon.proctor (Vicar) on Dec 18, 2002 at 22:37 UTC | |
|
Re: Perl Timer
by hawtin (Prior) on Dec 19, 2002 at 08:59 UTC |