Date: Thu, 8 Dec 2005 08:39:54 -0600 From: Will Maier <willmaier@ml1.net> To: freebsd-questions@freebsd.org Subject: Re: simple shell script Message-ID: <20051208143954.GV2413@merkur.atekomi.net> In-Reply-To: <200512072016.58524.akbeech@gmail.com> References: <200512071847.05393.akbeech@gmail.com> <20051208035255.GD33064@dan.emsphone.com> <20051207233359.B36369@cons.org> <200512072016.58524.akbeech@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 07, 2005 at 08:16:31PM -0900, Beecher Rintoul wrote: > Thanks to you both, I missed the background option. Actually it > just needs to run in the background to log some hits on a free > webserver that I use for testing. I forget and they will cancel my > account if there's no traffic for a month. The timeout also looks > interesting and I'll look into it. You might want to consider using fetch, wget or curl for this application, not lynx. A simple cron job to request and download your webpage (if your webpage was google.com ; )) could be as simple as: 10 2 * * * /path/to/ftp -o /dev/null http://www.google.com/index.html > /dev/null Or, using curl: 10 2 * * * /path/to/curl -s http://www.google.com/index.html > /dev/null -- o--------------------------{ Will Maier }--------------------------o | jabber:..wcmaier@jabber.ccc.de | email:..........wcmaier@ml1.net | | \.........wcmaier@cae.wisc.edu | \..........wcmaier@cae.wisc.edu | *------------------[ BSD Unix: Live Free or Die ]------------------*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051208143954.GV2413>