Help answer threads with 0 replies.
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, 06: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 06:07 AM. Reason: did not provide OS
Old 10-21-2009, 06:14 AM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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 08:25 AM
Log Rotation using Logrotate keysorsoze Linux - General 4 04-13-2007 03:51 PM
how to logrotate auth.log files? clintcan Linux - Security 1 12-10-2005 05:55 PM
logrotate log files - keeping in order when using grep or cat and bash dmellem Linux - Software 6 02-11-2005 02:05 PM
How to add my log files in logrotate Groucho Slackware 2 10-03-2003 09:16 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:03 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
Open Source Consulting | Domain Registration