On Wed, 15 Sep 2004, Webmaster Jim wrote: > > - 3rd: at the latest step, if applicable, I would like to use LYNX to > > automatically check the availability of our companies homepage.
Automated checking of websites is is a classic use of lynx. Depending on the level of detail required you can confirm everything from certificates to content integrity to simple availability. I usually have the checking system email a text device if an error condition is detected. At the simplest level this will do for any served page. #!/bin/sh lynx -dump -source www.foo.com/page.html > /dev/null 2>&1 if [ $? == 0 ] then echo "ok" else echo "nope" fi I hope this helps. __Stef http://caunter.ca/contact.html _______________________________________________ Lynx-dev mailing list [EMAIL PROTECTED] http://lists.nongnu.org/mailman/listinfo/lynx-dev
