in reply to RE: Re: Exec'd perl running wild on cpu-time
in thread Exec'd perl running wild on cpu-time
Of course, this is drifting away from Perl, but in the spirit of the Right Tool for The Right Job, cron knows all about weekdays and time slots. I would use cron (or at, which can do that stuff under NT) with the following crontab entry to ensure that it checks every 5 minutes during the week, from 7:00h to 20:00h, monday through friday :
Note: I didn't check that line and also I only worked from the crontab (5) manpage. Usually this means that some tweaking is required afterwards.0,5,10,15,20,25,30,35,40,45,50,55 7-20 * * 1-5
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(ar0n) RE (4): Exec'd perl running wild on cpu-time
by ar0n (Priest) on Nov 13, 2000 at 19:45 UTC |