| 1 | = mf-awstats-build-staticpages = |
| 2 | |
| 3 | == Synopsis == |
| 4 | |
| 5 | This commands is a wrapper for the awstats command that builds web pages. |
| 6 | |
| 7 | == Description == |
| 8 | |
| 9 | 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. |
| 10 | == Examples == |
| 11 | Cron jobs using this script. |
| 12 | {{{ |
| 13 | 0 julia:~# grep awstats /var/spool/cron/crontabs/* |
| 14 | /var/spool/cron/crontabs/corinaction:58 * * * * /usr/local/sbin/mf-awstats-build-staticpages corinaction.org /home/members/caipirinha/si |
| 15 | /var/spool/cron/crontabs/corweb:13 * * * * /usr/local/sbin/mf-awstats-build-staticpages culturesofresistance.org /home/members/caipirinh |
| 16 | /null |
| 17 | /var/spool/cron/crontabs/theparagraph:47 * * * * /usr/local/sbin/mf-awstats-build-staticpages theparagraph.com /home/members/timadam/sit |
| 18 | /var/spool/cron/crontabs/toplabadmin:46 * * * * /usr/local/sbin/mf-awstats-build-staticpages toplab.org /home/members/toplab/sites/topla |
| 19 | 0 julia:~# |
| 20 | }}} |
| 21 | |
| 22 | == See Also == |
| 23 | |
| 24 | [[mf-awstats-create]] |