Home > Uncategorized > System Crontab – Periodic Weekly

System Crontab – Periodic Weekly

December 7th, 2003 Leave a comment Go to comments

A change between 10.2 and 10.3 in what ‘periodic weekly’ performs.

After I upgraded from 10.2.8 to 10.3, I noticed that the apache log files were being rotated in the early hours of Saturday morning. Not only that, but only one gzipped file was being maintained. i.e. only .0.gz

I found that the script which runs under the system crontab for periodic weekly, now included a rotation script for the apache logs. This was not present in 10.2. I have verified this on my Powerbook which is still running 10.2.

This did not explain why the archived gzipped files were not being kept back to .4.gz. I found that the presence of other files in /var/log/httpd upset the script. Removing everything except access_log* and error_log* files, allowed the script to function correctly.

[19 Jan] Following an email exchange with Frédéric Latour in Canada, I have commented out the section of ‘500.weekly’ which performs the log rotation. I’ll perform my own log rotations.

Categories: Uncategorized Tags: ,
  1. No comments yet.
  1. No trackbacks yet.