Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-21-2009, 05:04 AM   #1
LQ Newbie
Registered: Aug 2009
Posts: 18

Rep: Reputation: 0
Post logrotate log files


I have written a script that runs every five minutes in cron schedular. The distro is fedora core 9. This script generates 2 log files, these log file size is going on increasing as some log data is being dumped into these 2 log files every five minutes. I need to logrotate these 2 files. Could someone help me with the steps to configure logrotate for the 2 files?

Thanks in advance.

Last edited by rashmeepawar; 10-21-2009 at 05:07 AM. Reason: did not provide OS
Old 10-21-2009, 05:14 AM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
You can add them in


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
eradicate squid log files using cron and logrotate cccc Debian 0 08-21-2007 07:25 AM
Log Rotation using Logrotate keysorsoze Linux - General 4 04-13-2007 02:51 PM
how to logrotate auth.log files? clintcan Linux - Security 1 12-10-2005 04:55 PM
logrotate log files - keeping in order when using grep or cat and bash dmellem Linux - Software 6 02-11-2005 01:05 PM
How to add my log files in logrotate Groucho Slackware 2 10-03-2003 08:16 AM

All times are GMT -5. The time now is 06:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration