LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-25-2005, 10:56 AM   #1
zolo44
LQ Newbie
 
Registered: Apr 2002
Location: Palmdale, CA
Posts: 13

Rep: Reputation: 0
Smile Crontab Config Question


I want to change the location where the crontab log files are located. I tried to look for the config file but only found these:

/etc/log.d/conf/services/cron.conf:

###########################################################################
# $Id: cron.conf,v 1.4 2002/10/12 02:08:09 kirk Exp $
###########################################################################

# You can put comments anywhere you want to. They are effective for the
# rest of the line.

# this is in the format of <name> = <value>. Whitespace at the beginning
# and end of the lines is removed. Whitespace before and after the = sign
# is removed. Everything is case *insensitive*.

# Yes = True = On = 1
# No = False = Off = 0

Title = "Cron"

# Which logfile group...
LogFile = cron

########################################################
# This was written and is maintained by:
# Kirk Bauer <kirk@kaybee.org>
#
# Please send all comments, suggestions, bug reports,
# etc, to kirk@kaybee.org.
########################################################


and


/etc/log.d/conf/logfiles/cron.conf:
##########################################################################
# $Id: cron.conf,v 1.6 2002/10/12 02:08:07 kirk Exp $
##########################################################################

########################################################
# This was written and is maintained by:
# Kirk Bauer <kirk@kaybee.org>
#
# Please send all comments, suggestions, bug reports,
# etc, to kirk@kaybee.org.
########################################################

# What actual file? Defaults to LogPath if not absolute path....
LogFile = cron

# If the archives are searched, here is one or more line
# (optionally containing wildcards) that tell where they are...
# Note: if these are gzipped, you need to end with a .gz even if
# you use wildcards...
Archive = cron.*
Archive = cron.*.gz

*OnlyHost
*RemoveService = anacron
####



Neither of them have the path to the current log files. Does anybody know where the defaults are?

I'm using Fedora Core 1

Thanks
 
Old 02-25-2005, 12:51 PM   #2
Siggn
LQ Newbie
 
Registered: Jan 2004
Distribution: Debian
Posts: 5

Rep: Reputation: 0
cron manual: cron logs its action to the syslog facility 'cron', and logging may be controlled using the standard syslogd(8) facility.

In the /etc/syslog.conf there is a line that says:
cron.* /var/log/cron.log
Hope this helps.
 
Old 02-25-2005, 01:18 PM   #3
zolo44
LQ Newbie
 
Registered: Apr 2002
Location: Palmdale, CA
Posts: 13

Original Poster
Rep: Reputation: 0
Hmm, sounds like the file i need.

Thanks a lot.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
crontab question kaplan71 Linux - General 4 07-18-2005 04:04 PM
Crontab question stefaandk Linux - Newbie 1 06-21-2005 07:31 AM
crontab MAILTO and config problems staul Linux - Software 1 04-09-2005 04:39 AM
crontab question DriveMeCrazy Linux - Newbie 1 05-23-2004 12:25 PM
crontab question WeNdeL Linux - Newbie 1 03-06-2003 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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