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

Re: [cobalt-users] Monthly log rotation on RaQ3



M Fryer wrote:
> 
> CAUTION: Linux newbie, ridiculously easy questions follow. If newbie
> questions annoy you please don't read any further!!! On the other hand, if
> you can remember when you were first starting, I appreciate your help.

Newbie questions don't annoy.  People who persist in top-posting 
HTML annoy.

> I have found a way to rotate them manually in the Cobalt FAQ's, but would
> rather have the box do it automatically at 12:00AM on the first day of each
> month.

Look in /etc/logrotate.conf, also type "man logrotate" at the command line.

Also "man cron".

> As a side question, being a Linux neophyte, exactly how do I run the
> /etc/cron.daily/logrotate command?
> 
> I assume I Telnet in, then exactly what do I do?

Quite simply type /etc/cron.daily/logrotate at the command line!
You will probably have to be root for it to work.

I'd caution you not to do anything though until you've had the 
go-ahead from a Raq experienced person.  I am a Qube1 user, and
there may be differences that I am unaware of.

That should give you something to get on with until 
somebody gives you a more detailed answer.