Hi, Thanks for your reply. I could not find any files in /etc/cron.hourly folder. The folder was empty. Rgds, RSR ---------------------------------------------------------------------- Message: 1 Date: Fri, 6 Feb 2009 17:00:45 -0700 From: Joshua Gimer <jgimer@xxxxxxxxx> Subject: Re: Query on Logrotate To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx> Message-ID: <cf939bff0902061600x370eb8d0v2237e7ced880ac0e@xxxxxxxxxxxxxx> Content-Type: text/plain; charset=ISO-8859-1 What is in /etc/cron.hourly/? You might want to check /var/log/cron to see if there are any jobs that are running every hour outside of your /etc/cron.d/config job that could be doing this. On Fri, Feb 6, 2009 at 5:05 AM, Ravi Shanmugam <ravi.shanmugam@xxxxxxxxxx> wrote: > Hi all, > > I have configured logrotate to logorotate every 12 hour. The configurations are as follows. > > /etc/cron.d/config > ------------------------- > > SHELL=/bin/bash > PATH=/sbin:/bin:/usr/sbin:/usr/bin > MAILTO="" > HOME=/root > 0 */12 * * * root logrotate /etc/logrotate.d/test > > > /etc/logrotate.d/test > -------------------------------- > /var/ipaccess/nanobsc/CheckIn/application/log/*.log { > daily > size 5M > missingok > copytruncate > rotate 10 > } > > But this log files are rotated every hour. Could somebody explain me why this behaviour. > > Regds, > RSR SASKEN BUSINESS DISCLAIMER ------------------------- This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list