From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 14:39:30 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 0508C16A427 for ; Thu, 8 Dec 2005 14:39:30 +0000 (GMT) (envelope-from willmaier@ml1.net) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43F7843D5D for ; Thu, 8 Dec 2005 14:39:23 +0000 (GMT) (envelope-from willmaier@ml1.net) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 2456AD21DB4 for ; Thu, 8 Dec 2005 09:39:16 -0500 (EST) Received: from frontend2.messagingengine.com ([10.202.2.151]) by frontend1.internal (MEProxy); Thu, 08 Dec 2005 09:39:16 -0500 X-Sasl-enc: ShuqKkBrtRL9v4oQNzr/p0rYl7n0VfYkh7jnLGim8hby 1134052755 Received: from localhost (mdsnwikwbas08-pool4-a199.mdsnwikw.tds.net [69.129.195.199]) by frontend2.messagingengine.com (Postfix) with ESMTP id 2E46E57146E for ; Thu, 8 Dec 2005 09:39:14 -0500 (EST) Date: Thu, 8 Dec 2005 08:39:54 -0600 From: Will Maier To: freebsd-questions@freebsd.org Message-ID: <20051208143954.GV2413@merkur.atekomi.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <200512071847.05393.akbeech@gmail.com> <20051208035255.GD33064@dan.emsphone.com> <20051207233359.B36369@cons.org> <200512072016.58524.akbeech@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200512072016.58524.akbeech@gmail.com> User-Agent: Mutt/1.5.9i 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 14:39:30 -0000 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 ]------------------*