#!/bin/bash
LISTA=$(ls -l /home/www/*/logs/webalizer* | awk '{ print $8 }')
for elemento in $LISTA ; do
echo "Elaborazione statistiche per" $(basename $elemento)
webalizer -c $elemento
done
LISTA=$(ls -l /home/www/*/logs/logrotate* | awk '{ print $8 }')
for elemento in $LISTA ; do
echo "Ruota log per" $(basename $elemento)
logrotate $elemento
done
Add new attachment
Only authorized users are allowed to upload new attachments.