The --timeout switch doesn't work me. Instead of waiting 5 seconds as indicated below, Wget uses the default value of 900 seconds. I use use a dialup service and my script just sits there doing nothing for 15 minutes.
It looks to me like the only time this is a problem is when the site is in the DNS and the server is down. However the timeout function in Lynx works as expected. Is there anyway around this problem? I checked the archives and while this problem is mentioned I couldn't find an answer. Wget 1.5.3 on linux-gnu. /usr/bin/wget -t 1 -T 5 --spider --force-html -i /var/link-check/$S1$A --12:42:31-- http://www.webrx.com/ => `index.html.1' Connecting to www.webrx.com... connect: Connection timed out Giving up.