From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 15:55:22 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2225716A422 for ; Thu, 8 Dec 2005 15:55:22 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: from vfemail.net (miwi2dsl-a234.wi.tds.net [216.170.248.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24A6F43D6E for ; Thu, 8 Dec 2005 15:55:01 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: (qmail 1946 invoked by uid 85); 8 Dec 2005 15:54:46 -0000 Received: from akbeech@gmail.com by mail.vfemail.net by uid 0 with qmail-scanner-1.16 (clamscan: 0.75.1. spamassassin: 2.63. Clear:. Processed in 2.705671 secs); 08 Dec 2005 15:54:46 -0000 Received: from unknown (HELO ?192.168.2.226?) (alaska@vfemail.net@209.124.141.64) by miwi2dsl-a234.wi.tds.net with RC4-MD5 encrypted SMTP; 8 Dec 2005 15:54:42 -0000 From: Beecher Rintoul Organization: NorthWind Communications To: freebsd-questions@freebsd.org Date: Thu, 8 Dec 2005 06:54:17 -0900 User-Agent: KMail/1.8.3 References: <200512071847.05393.akbeech@gmail.com> <200512072016.58524.akbeech@gmail.com> <20051208143954.GV2413@merkur.atekomi.net> In-Reply-To: <20051208143954.GV2413@merkur.atekomi.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart17202111.MURAgzPdLk"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200512080654.35814.akbeech@gmail.com> Cc: Will Maier Subject: Re: simple shell script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2005 15:55:22 -0000 --nextPart17202111.MURAgzPdLk Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 08 December 2005 05:39 am, Will Maier wrote: > 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 =A02=A0=A0=A0* =A0 *=A0=A0=A0* =A0 /path/to/ftp -o /dev/null > http://www.google.com/index.html > /dev/null > > Or, using curl: > 10 =A02=A0=A0=A0* =A0 *=A0=A0=A0* =A0 /path/to/curl -s http://www.google.= com/index.html > > /dev/null Thanks, that is a much simpler solution. I have curl installed and I'll giv= e=20 it a try. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - System Administrator - akbeech@gmail.com /"\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com =2D------------------------------------------------------------------------= =2D------------- --nextPart17202111.MURAgzPdLk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDmFc7Vq19LUoGB+MRAgkcAKDJFZtBi2+E5iUsne+GoUW9SGp03ACfdbR8 +ok2tZ9JEXmHSYV7R+WHc3w= =ZMmM -----END PGP SIGNATURE----- --nextPart17202111.MURAgzPdLk--