[Gllug] C library needed

tet at accucard.com tet at accucard.com
Tue Feb 12 16:44:57 UTC 2002


>Much more reliable to fork and exec wget ;-)

Except that wget isn't as reliable as I first thought... I've been
using it to monitor our web site here. Every five minutes, a cron
job uses wget to download our front page, and grep for a given magic
string to ensure the site is up and displaying the correct front page.
However, in testing this morning, it turned out that the --timeout
argument documented in the man page is being silently ignored, so
I had to change it to use "lynx -source -dump" instead (with the
-connect_timeout option).

Tet

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list