Does anybody know of a script that can be ran at the end of the month to reset all log files in the /usr/local/apache/domlogs directory via crontab? I am sick to death of cPanel and it's goofy log resetting. It resets log files 1, 2, 3, 4 days before the end of the month at all different times and screws up my customized Urchin stats. My clients are always bitching about their stats being missing the one or two days at the end of the month. I've paid over $1000 to be able to use Urchin and because cPanel refuses to make the log rotation configurable, the stats are not even accurate. This isn't that big a deal for Bob who wants to see how many hits his blog had last month, but for most of my clients' sites (business sites), it's important to them to see accurate stats.
If someone knows of a script that I can run via crontab at the end of each month to reset my clients' log files can you please link me to it or post it in the forums? I'd like to disable to Apache log rotation in WHM and set the script to delete the logs after my Urchin stats to run. I can also modify the time that AwStats and Webalizer run so they will be updated as well before the rotation.
If someone knows of a script that I can run via crontab at the end of each month to reset my clients' log files can you please link me to it or post it in the forums? I'd like to disable to Apache log rotation in WHM and set the script to delete the logs after my Urchin stats to run. I can also modify the time that AwStats and Webalizer run so they will be updated as well before the rotation.