From owner-freebsd-questions Tue Jul 6 1:25: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from csad.coventry.ac.uk (unknown [194.66.38.38]) by hub.freebsd.org (Postfix) with SMTP id E51511516A for ; Tue, 6 Jul 1999 01:24:54 -0700 (PDT) (envelope-from justin@csad.coventry.ac.uk) Received: (qmail 16824 invoked by uid 901); 6 Jul 1999 08:25:03 -0000 Date: 6 Jul 1999 08:25:03 -0000 Message-ID: <19990706082503.16823.qmail@csad.coventry.ac.uk> From: justin@csad.coventry.ac.uk To: tobez@plab.ku.dk Subject: Re: running frequent cron perl scripts Cc: junkmale@xtra.co.nz, question@freebsd.org, questions@freebsd.org In-Reply-To: <19990705170738.D5735@lion.plab.ku.dk> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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