**AWstats実行スクリプト [#x59428c4]
awstats.plが設置されたディレクトリに配置する。

 #!/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