-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 30 September 2003 04:07 pm, Derek Jennings wrote: > Correct. anacron will schedule jobs to run that were not run by cron. > Logrotate is the actual package to compress the log files. Logrotate is > installed by default in Mandrake, and a cron job is automatically placed in > /etc/cron.daily/logrotate > That file points to the logrotate configuration /etc/logrotate.conf, but > you should not need to touch it. > By default logrotate will compress all your log files and keep four weeks > of compressed backups. Whenever you install a new RPM which requires > loggging, then a file is dropped into /etc/logrotate.d to add that log file > to logrotates job entirely automatically. > > derek
Oh, I got it. Yes, /etc/cron.daily contains logrotate And logrotate.conf contains how often it will rotate the logs, more spesifically settings are stored in /etc/logrotate.d And I've changed the time it is executed by crontab from 4am into 4pm when my server is still running during office hours. Thanks Derek! - -- Fajar http://linux.arinet.org Linux mdk91.sistek.kom 2.4.21-0.13mdk GNU/Linux 16:22:56 up 9:00, 10 users, load average: 1.08, 1.15, 1.27 Quote of the day: Q: What's the difference between Windows 95 and a highly destructive virus? A: About 300 MB of hard disk space. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/eUx9Mai9kCFqACoRAidtAJ9Fqtt0yYN8xy5i8yvONjVmaZYNmACgmd3F f6c6/te1fsYVRWsyfnZkf7w= =K/Em -----END PGP SIGNATURE-----
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com