You may run The Webalizer by doing the following. The -o flag and trailing directory name (/www/htdocs/stats/)
designate where The Webalizer output will be written.
# webalizer -o /www/htdocs/stats/ /www/logs/access_log
To run The Webalizer daily at a scheduled time, add a line like the following to your server
Crontab.
35 0 * * * /usr/local/bin/webalizer -o /www/htdocs/stats/ /www/logs/access_log
This particular line will run The Webalizer each night at 12:35am and write the output in your /www/htdocs/stats/
directory. For a Virtual Subhost, add a line like this (the text below should all
be placed on a single line):
35 0 * * * /usr/local/bin/webalizer-n SUBHOST-DOMAIN.NAME -o
/www/vhosts/SUBHOST-DIR/htdocs/stats/ /www/vhosts/SUBHOST-DIR/logs/access_log