in reply to Automating File Rotation

use rotatlelogs that comes with your apache.
Usage: rotatelogs <logfile> <rotation time in seconds> [offset minutes + from UTC] or <rotation size in megabytes>
Boris