[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Webalizer on raq 4i



Hi Bruce,

> I probably should have told you to run all the scripts in
> /etc/cron.daily, in sequence.  Webalizer processes against the
> domain-specific logs in /home/sites/sitex/logs/, so until
> logrotate/split_logs happens, there won't be any "local" log file for
> Webalizer to chew on...

That's actually a bad idea.

You risk loosing logdata for sites that have a lot of traffic (as the
logrotation program can delete logs after the split_logs program is run
but before the webalizer script is run).

Never rely on cron jobs runinng in the right order, unless you're
absolute sure of locking and side-effects.

--
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@xxxxxxxxxxxxxxxxxxxx,
http://www.mermaidconsulting.com/