#!/bin/bash TRUE=1 FALSE=0 # Set DEBUG state $TRUE = verbose and no delete output files DEBUG=$TRUE # Which tools are we running AWFFULL=$TRUE WEBALIZER=$TRUE WEBDRUID=$TRUE VISITORS=$TRUE WEB_NAME="www.linaro.org" # First update the logs from the server /usr/bin/rsync -avz -e "ssh -i /home/david.mandala/.ssh/log_grabber" www.linaro.org:/var/www/linaro.org/logs/*.gz /home/david.mandala/logs/www.linaro.org/. > /dev/null source /home/david.mandala/bin/analyse-logs.sh