Koozali.org: home of the SME Server

does my howto work as intended

Offline arnoldob

  • *
  • 183
  • +0/-0
does my howto work as intended
« Reply #15 on: February 10, 2005, 02:17:36 PM »
Can you post the code you added to the hourly cron job?

Thanks
Tampa, FL USA

Mael

does my howto work as intended
« Reply #16 on: February 10, 2005, 03:15:10 PM »
Edit:

So I use a temporay file called mailtemp to store  the intermediate processes

This is my qmail part of /etc/cron.hourly/awstats
Code: [Select]
find /var/log/qmail/ -mmin -60 -name "\@*" | xargs cat | /usr/local/bin/tai64nlocal > /var/log/qmail/mailtmp
cat /var/log/qmail/current |/usr/local/bin/tai64nlocal >> /var/log/qmail/mailtmp
perl awstats.pl -config=qmail -update >/tmp/null


and this is the part of my awstats.qmail.conf
Code: [Select]
LogFile="perl /home/e-smith/files/ibays/awstats/cgi-bin/maillogconvert.pl standard < /var/log/qmail/mailtmp |"

Feel free to comment and improve


Mael