Re: [CentOS] Logrotate base

2009-02-12 Thread jkinz
On Thu, Feb 12, 2009 at 04:12:07PM +0100, Paul Bijnens wrote: > On 2009-02-12 15:47, jk...@kinz.org wrote: > > On Thu, Feb 12, 2009 at 01:08:24PM +0800, Fajar Priyanto wrote: > > > > Hi Fajar, re logrotate and crontab: I was speaking from instinct > > knowing that crontab and a simple script to d

Re: [CentOS] Logrotate base

2009-02-12 Thread Paul Bijnens
On 2009-02-12 15:47, jk...@kinz.org wrote: > On Thu, Feb 12, 2009 at 01:08:24PM +0800, Fajar Priyanto wrote: > > Hi Fajar, re logrotate and crontab: I was speaking from instinct > knowing that crontab and a simple script to do the actual > rotation is all that is needed. What I didn't expect was

Re: [CentOS] Logrotate base

2009-02-12 Thread jkinz
On Thu, Feb 12, 2009 at 01:08:24PM +0800, Fajar Priyanto wrote: Hi Fajar, re logrotate and crontab: I was speaking from instinct knowing that crontab and a simple script to do the actual rotation is all that is needed. What I didn't expect was that someone had actually reinvented all the functio

Re: [CentOS] Logrotate base

2009-02-12 Thread jkinz
On Thu, Feb 12, 2009 at 12:05:09PM +0800, Fajar Priyanto wrote: > Logrotate is checked every day by cron.daily, right? > I notice in logrotate.conf by default it's weekly. > If I change it into monthly (now, on 12 of Feb), when will it do the > monthly rotation? > a. On 12 of March or > b. On 1st o

Re: [CentOS] Logrotate base

2009-02-11 Thread Fajar Priyanto
On Thu, Feb 12, 2009 at 12:12 PM, muhammad panji wrote: > On Thu, Feb 12, 2009 at 11:05 AM, Fajar Priyanto wrote: >> Hi guys, >> Logrotate is checked every day by cron.daily, right? >> I notice in logrotate.conf by default it's weekly. >> If I change it into monthly (now, on 12 of Feb), when will

Re: [CentOS] Logrotate base

2009-02-11 Thread muhammad panji
On Thu, Feb 12, 2009 at 11:05 AM, Fajar Priyanto wrote: > Hi guys, > Logrotate is checked every day by cron.daily, right? > I notice in logrotate.conf by default it's weekly. > If I change it into monthly (now, on 12 of Feb), when will it do the > monthly rotation? AFAIK it is a default value to r

[CentOS] Logrotate base

2009-02-11 Thread Fajar Priyanto
Hi guys, Logrotate is checked every day by cron.daily, right? I notice in logrotate.conf by default it's weekly. If I change it into monthly (now, on 12 of Feb), when will it do the monthly rotation? a. On 12 of March or b. On 1st of March? Thanks for any insight. _