Re: Query on Logrotate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



-- 
Thx
Joshua Gimer

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux