aboutsummaryrefslogtreecommitdiff
path: root/process-www.linaro.org_web_logs.sh
blob: a059d0605aeb831c79805a6c92aec32d60163eaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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