#!/bin/csh -f # loop # ------------------------------------------------------------------------------ # Shell script to monitor the accessibility of the HHL web site. # ------------------------------------------------------------------------- # Revision History: # $Log$ # ------------------------------------------------------------------------------ if ("$1" == "-h" || "$1" == "--help") then echo "Usage: $0:t [seconds]" exit 1 endif set secs = "1" if ("$1" != "") then set secs = $1:q shift endif loop -q $secs:q check_web_site --beep --dots --connect-timeout 5 --max-time 20 http://www.helphopelive.org