From owner-freebsd-questions Sun May 23 6:43:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id F2244152EF for ; Sun, 23 May 1999 06:43:36 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from rainbow5.scientia.demon.co.uk ([192.168.1.2] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.00 #1) id 10lYWz-000IRf-00; Sun, 23 May 1999 14:43:09 +0100 (envelope-from ben@rainbow5.scientia.demon.co.uk) Received: from rainbow5.scientia.demon.co.uk (ident=ben) by rainbow5.scientia.demon.co.uk with local (Exim 3.00 #1) id 10lYX1-000DD3-00; Sun, 23 May 1999 14:43:11 +0100 (envelope-from ben@rainbow5.scientia.demon.co.uk) Date: Sun, 23 May 1999 14:43:11 +0100 From: Ben Smithurst To: Kit Mitchell Cc: questions@freebsd.org Subject: Re: Cron and Lynx Message-ID: <19990523144310.B50712@rainbow5.scientia.demon.co.uk> References: <19990523151102.A18616@amethyst.hypostasis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <19990523151102.A18616@amethyst.hypostasis.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kit Mitchell wrote: > It seems I may have been barking in the wrong direction Anyone able > to suggest why lynx is unable to access a page when run from cron ? > using the cron line > > */5 * * * * /usr/local/bin/lynx -dump http://192.168.1.254:84/shell/show+ip+interfaces > > give the response below. the same command at the command line is OK - > would this imply an effect of the restricted environment? Do you have any proxy settings in your normal environment, which aren't in the Cron environment? Running lynx with ktrace in the crontab may also give some clues, but how helpful they'd be I don't know. > Exiting via interrupt: 15 Any idea where lynx could be getting that from? What could be sending lynx a SIGTERM while it's doing it's stuff? That could well be the problem. -- Ben Smithurst ben@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message