AWstats 解析実行スクリプト
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
**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
終了行:
**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
ページ名: