Awstats cron job
Posted by: indranil
Posted on: 2005-10-20 07:53:00
So, I installed Awstats using the instructions at the wiki, and set up the cron job. But the thing is, I don't think my cron runs right. I get a regular email whose content I've pasted below, and I don't know what's wrong. I've tried reentering the cron, and am sure I entered the right command, but nothing seems to work
daily email:
----- awstats_buildstaticpages 1.2 (build 1.31) (c) Laurent Destailleur -----
awstats_buildstaticpages allows you to launch AWStats with -staticlinks option
to build all possible pages allowed by AWStats -output option.
Usage:
awstats_buildstaticpages.pl (awstats_options) [awstatsbuildstaticpages_options]
where awstats_options are any option known by AWStats
-config=configvalue is value for -config parameter (REQUIRED)
-update option used to update statistics before to generate pages
-lang=LL to output a HTML report in language LL (en,de,es,fr,...)
-month=MM to output a HTML report for an old month=MM
-year=YYYY to output a HTML report for an old year=YYYY
and awstatsbuildstaticpages_options can be
-awstatsprog=pathtoawstatspl AWStats software (awstats.pl) path
-dir=outputdir Output directory for generated pages
-diricons=icondir Relative path to use as icon dir in <img> links
-builddate=%YY%MMĘ Used to add build date in built pages filenames
-staticlinksext=xxx Build pages with .xxx extension (default .html)
-buildpdf[=pathtohtmldoc] Build a PDF file after building HTML pages.
Output directory must contains icon directory
when this option is used (need 'htmldoc')
New versions and FAQ at http://awstats.sourceforge.net