in reply to Exec'd perl running wild on cpu-time
If you want a script to run periodically, this is always a call for cron, the program that starts tasks under the several variants of Unix. Then you can do away with the while(1){} loop and let your program run just once every 5 minutes. If you are working under Win32, there is either the dreaded Scheduler service under Windows 9x (avoid it, it needs a person logged in), or the at service under NT, which has a different syntax but does what cron does under Unix.
Much more interesting though is, why your Perl program racks up that much CPU time at all, but I'm at a loss here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Exec'd perl running wild on cpu-time
by jeroenes (Priest) on Nov 13, 2000 at 18:19 UTC | |
by Corion (Patriarch) on Nov 13, 2000 at 18:27 UTC | |
by ar0n (Priest) on Nov 13, 2000 at 19:45 UTC |