-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 03 October 2003 10:31 am, mike wrote:
> I tried "logrotate" and with the "-f" option, but it
> displays version and brief help message. I dont believe
> I understand the man page to well, any pointers?
> I also do not have X installed on it.

Hi Mike,
Actually it's all been set up, but /var/log/messages would be rotated on 
weekly basis, if you want it daily, you can done so by changing:
/etc/logrotate.d/syslog:
{
        sharedscripts
        rotate 5
        weekly <<<<<<<<<----- CHANGE THIS INTO DAILY
        postrotate
        /usr/bin/killall -HUP syslogd #
        endscript
}

Make sure that you set your crontab to execute the command (crond.daily, 
logrotate). It's all there should be.

- -- 
Fajar http://linux.arinet.org
Linux mdk91.sistek.kom 2.4.21-0.13mdk GNU/Linux
10:55:39 up 3:21, 10 users, load average: 0.11, 0.24, 0.24
Quote of the day:
Win98 is called Win98 because you need 98 MB RAM to install it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/fPQJMai9kCFqACoRAv+NAJ9S3Yo+1r1i/LKXLwp4/5Gfcrv5cACfYSci
Mo18wNo2n/G+Jpg666o8zAM=
=SaM6
-----END PGP SIGNATURE-----


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to