Skip site navigation (1)Skip section navigation (2)
Date:      6 Jul 1999 08:25:03 -0000
From:      justin@csad.coventry.ac.uk
To:        tobez@plab.ku.dk
Cc:        junkmale@xtra.co.nz, question@freebsd.org, questions@freebsd.org
Subject:   Re: running frequent cron perl scripts
Message-ID:  <19990706082503.16823.qmail@csad.coventry.ac.uk>
In-Reply-To: <19990705170738.D5735@lion.plab.ku.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
>On Mon, Jul 05, 1999 at 11:08:02PM +1200, Dan Langille wrote:
>> I'm running cron job to start up a perl script.  The script accesses
>> the ADSL modem to see if the external IP address has changed.  If it

>> Is there a way to speed this process up?  The above bits seem to take
>> up most of the time.

>And finally, the fact you presented us with just a few first lines of
>your script suggests that you think that the startup overhead is the
>major slowing factor.  Are you sure of it?  I mean, judging from your


Don't forget - once you've finished prototyping it in perl write it in C

Also consider making the program loop with a sleep in it then run it once,
not from cron.

Justin.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990706082503.16823.qmail>