init
Signed-off-by: Nico Schottelius <nico@manager.schottelius.org>
This commit is contained in:
parent
256dc98754
commit
df2daf524d
641 changed files with 140617 additions and 12 deletions
28
cron/webalizer.cron
Executable file
28
cron/webalizer.cron
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/sh
|
||||
# Date: 27. May 1999
|
||||
# Author: Nico Schottelius ( webmaster@schottelius.org )
|
||||
# webalizer.cron; do webalizer for every server
|
||||
# Last Modified: 20. Mai 2003
|
||||
# Version : 1.02
|
||||
|
||||
# Preperations
|
||||
|
||||
# unset / set varibales
|
||||
SERV=""
|
||||
WEBALIZER="/usr/bin/nice -n 20 webalizer"
|
||||
ERR_LOG="/var/log/webalizer.err"
|
||||
STD_LOG="/var/log/webalizer.log"
|
||||
|
||||
## Startup
|
||||
echo Starting at : `date`
|
||||
|
||||
# MAIN
|
||||
for SERV in `find /home/server/www/ -name webalizer.conf`; do
|
||||
echo "Using $SERV"
|
||||
LOGDIR=`dirname $SERV`/..
|
||||
$WEBALIZER -c $SERV $LOGDIR/access.log*
|
||||
# $WEBALIZER -c $SERV $LOGDIR/access.log.1 $LOGDIR/access.log*
|
||||
done
|
||||
|
||||
## Shutdown
|
||||
echo Stopping at : `date`
|
||||
Loading…
Add table
Add a link
Reference in a new issue