Help - Search - Members - Calendar
Full Version: Cron Log Rotate Deleting
The Planet Forums > Operating Systems > Red Hat Linux
tommygunner
My logfiles where getting too big. Some of them are automatically rotated with cron. I'm trying to figure out how to have them deleted after so many days. How can I do this?
kfukasawa
You need to check out the logrotate configuration files in '/etc/logrotate.d'. The setup of logrotate is pretty straight forward. I recommend checking out the man page for it.

CODE
man logrotate.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.