# see "man logrotate" for details
# rotate log files daily
daily
# keep 4 weeks worth of backlogs
rotate 4
# send errors to root
#errors root
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# system-specific logs may be configured here
/home/httpd/logs/*_log {
daily
rotate 4
create
sharedscripts
postrotate
/home/httpd/cgi-bin/doaw.sh
kill -HUP `cat /var/run/httpd.pid`
endscript
}