LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2012, 06:00 AM   #1
elliot01
Member
 
Registered: Jun 2009
Location: UK
Distribution: CentOS / RedHat
Posts: 73

Rep: Reputation: 16
Question logrotate - invoked from where?


Hi folks,

Please could someone offer some guidance on understanding logrotate?

It's the first time I've really looked at this program.

Basically, from what I've read online, it needs to be invoked from crontab, but I have a CentOS5 system which is rotating logs all over the shop at 04:00... but issuing 'crontab -l' displays no references to logrotate.

I have looked at the running services, just in case it runs as such, but can't see anything there.

How do I get to the bottom of this please? Where is logrotate being invoked, executed or launched from?

Thank you!

Elliot
 
Old 04-19-2012, 06:04 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Have you got an /etc/cron.daily directory? the logrotate cron job is often in there.
 
1 members found this post helpful.
Old 04-19-2012, 06:08 AM   #3
elliot01
Member
 
Registered: Jun 2009
Location: UK
Distribution: CentOS / RedHat
Posts: 73

Original Poster
Rep: Reputation: 16
I'll take a nose, thanks

---------- Post added 04-19-12 at 11:09 AM ----------

That looks like the Daddy.

Thank you
 
  


Reply


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
[SOLVED] logrotate or logrotate.conf; problems with sftp slufoot80 Linux - Server 1 11-05-2011 08:50 AM
help with glob - perl invoked from shell johngreg Programming 16 11-12-2008 04:33 PM
how to get all invoked system API of a program George2 Programming 3 07-21-2006 03:12 AM
Where is dhcpc invoked from? natedawg_38929 Slackware 6 03-23-2004 03:43 AM
IRQ4 Serial Port Not invoked sinux Linux - Hardware 1 03-06-2003 04:45 PM


All times are GMT -5. The time now is 02:37 AM.

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