Run Webalizer automatically with a cron job

Securing and Optimizing Linux: RedHat Edition -A Hands on Guide
Prev | Chapter 30. Optional component to install with Apache | Next

# 30.5. Run Webalizer automatically with a cron job

The last thing you can do now is automate the task of generating a new log file to update your Webalizer reports. Place an entry into root's crontabs to make Webalizer run as a cron job. To add Webalizer in your cron job you must edit the crontab and add the following line as root to run it, for example, every 28 minutes for busy sites:

            [root@deep ] /# crontab -e

            # Run Webalizer to update Apache Log files every 28 minutes.
            28 * * * *      /usr/bin/webalizer

## 30.5.1. Installed files

These are the following files installed by Webalizer.

`/etc/webalizer.conf.sample`
`/usr/bin/webalizer`
`/usr/man/man1/webalizer.1`

Prev | Home | Next
Make Apache aware of Webalizer output directory | Up | Linux FAQ-O-Matic