wiki:mf-awstats-build-staticpages

Version 1 (modified by Ross, 7 years ago) (diff)

--

mf-awstats-build-staticpages

Synopsis

This commands is a wrapper for the awstats command that builds web pages.

Description

After reading a particular site's apache logs, this script calls awstats_buildstaticpages.pl which builds a statistics log for all site stats. Its purpose is to keep a month by month history of the statistics, clickable by the user. It is generally run through a cronjob.

Examples

Cron jobs using this script.

    0 julia:~# grep awstats /var/spool/cron/crontabs/*
/var/spool/cron/crontabs/corinaction:58 * * * * /usr/local/sbin/mf-awstats-build-staticpages corinaction.org /home/members/caipirinha/si
/var/spool/cron/crontabs/corweb:13 * * * * /usr/local/sbin/mf-awstats-build-staticpages culturesofresistance.org /home/members/caipirinh
/null
/var/spool/cron/crontabs/theparagraph:47 * * * * /usr/local/sbin/mf-awstats-build-staticpages theparagraph.com /home/members/timadam/sit
/var/spool/cron/crontabs/toplabadmin:46 * * * * /usr/local/sbin/mf-awstats-build-staticpages toplab.org /home/members/toplab/sites/topla
0 julia:~# 

See Also

mf-awstats-create