lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Question to the option "-connect_timeout"


From: Jens Schleusener
Subject: Re: [Lynx-dev] Question to the option "-connect_timeout"
Date: Sun, 9 Jan 2005 17:43:35 +0100 (NFT)

Hello Thomas,

I use within a script the program "lynx" via

 lynx -dump -nolist URL

and added now the option

 -connect_timeout=15

to shorten the general processing time while connecting to invalid or currently unreachable URLs. That works if I call the script interactively (on the console) but not if the script is called as a cronjob. Instead a "usage"-message is issued where the option "-connect_timeout" is missing.

Why? Any ideas?

The first thing I would check is if I'd set my $PATH to point to the correct version of lynx. Within cron, you only get a default set of
environment variables rather than having your login scripts read.

Since that's generally inconvenient, I use cron with a shell script
wrapper that sets up my $PATH

That was really the problem. So I used all the months on the command-line the nice current lynx-versions but via cron a very old one (not knowing about the "-connect_timeout"-option). Embarassing since I know (at least principally) that "cron-problem".

Thanks

Jens

--
Dr. Jens Schleusener            T-Systems Solutions for Research GmbH
Tel: +49 551 709-2493           Bunsenstr.10
Fax: +49 551 709-2169           D-37073 Goettingen
address@hidden  http://www.t-systems.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]