Re: Automate the running of my script

2002-04-17 Thread Gyro
"Allison Ogle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Hi everyone, > > I was wondering if it was possible with Perl to automate my script to be run > everyday at midnight. Does anyone have any suggestions? > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

daemons are not simple or for the feint of heart was - Re: Automate the running of my script

2002-04-17 Thread drieux
On Wednesday, April 17, 2002, at 11:55 , Chas Owens wrote: [..] > Oopsy, forgot the sleep call. That is what I get for just posting code > without testing it first. Well, I did say something like this />. Maybe it should look more like this (actually it shouldn't, you > _should use cron or th

Re: Automate the running of my script

2002-04-17 Thread Chas Owens
On Wed, 2002-04-17 at 14:45, drieux wrote: > > shame on you chas. > > that's a run away script - since you have no throttler > in it at all and it will only 'slow down' while actually > executing your system call. Oopsy, forgot the sleep call. That is what I get for just posting code wit

Re: Automate the running of my script

2002-04-17 Thread drieux
On Wednesday, April 17, 2002, at 09:13 , Chas Owens wrote: [..] > The general way to do this in Unix style OSes is to use cron. Type "man > crontab" for more info, but it should be possible -- but very > undesirable -- to write something like this: [..] > my $last_run = (localtime)[3]; > until (