Query on Logrotate

Joshua Gimer jgimer at gmail.com
Sat Feb 7 00:00:45 UTC 2009


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 at sasken.com> 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 at redhat.com?subjectunsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Thx
Joshua Gimer




More information about the redhat-list mailing list