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: Thomas Dickey
Subject: Re: [Lynx-dev] Question to the option "-connect_timeout"
Date: Sun, 9 Jan 2005 11:10:08 -0500 (EST)

On Sun, 9 Jan 2005, Jens Schleusener wrote:

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

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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