Date: Mon, 5 Jul 1999 23:08:02 +1200 From: "Dan Langille" <junkmale@xtra.co.nz> To: freebsd-questions@freebsd.org Subject: running frequent cron perl scripts Message-ID: <19990705111124.ZBJY282564.mta1-rme@wocker>
next in thread | raw e-mail | index | archive | help
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 has, it runs another job to update the DNS. The ADSL modem has an http interface which has the details I need. The perl script takes about 35 seconds to run on this old 486. But I'm guessing that most of that is overhead. The first bit of the script is: #!/usr/bin/perl $| = 1; use CGI; use CGI::Carp (fatalsToBrowser); require LWP; Is there a way to speed this process up? The above bits seem to take up most of the time. cheers. -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/freebsd/ NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/ The Racing System - http://www.racingsystem.com/racingsystem.htm 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?19990705111124.ZBJY282564.mta1-rme>