AWstats実行スクリプト

#!/bin/sh
# ------------------------
# awstats exec script
# ------------------------
# Version : 1.0
# date    : 2008/06/26

export LANG=C
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH

# check

if [ -x ./awstats.pl ]; then
 echo "Start loganalyze ...." 
else
 echo "ERR : awstats.pl not execute"
 exit 0
fi

# Exec
date +%Y/%m/%d\ %H:%M:%S
./awstats.pl -config=awstats.conf -update
./awstats.pl -config=awstats.conf -output > index.html
date +%Y/%m/%d\ %H:%M:%S
# EOF

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS