LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cron - not creating log file (https://www.linuxquestions.org/questions/linux-newbie-8/cron-not-creating-log-file-150050/)

t3___ 02-24-2004 03:15 PM

Cron - not creating log file
 
I am trying to enable logging for cron. I edited my crontab file (as root) and added the CRONLOG=YES (in all caps) switch.

My question is where the hell is the log file? All the documentation I can find indicates that it should be in /var/cron.... I dont have that directory or a file called cron in var. I ran a systemwide search for cron.log, and another for any file containing text that I am certain would appear in the log file.

any help would be greatly appreciated.

benjithegreat98 02-24-2004 03:33 PM

I am running slackware and fedora, so it may be in different spot. But in both of my systems it is located in /var/log/ It is called cron. Last weeks is cron.1 , 2 weeks ago is cron.2, etc.

t3___ 02-26-2004 06:13 PM

no such log files on my box...

comon guys.... this one should be pretty straight forward

any other suggestions?

benjithegreat98 02-26-2004 06:50 PM

find / | grep -i cron

that should find any file/directory with the word cron in it. I found a cron.conf on my system where I could set the cron logfile

I think you have to run that command as root to traverse through everything.


All times are GMT -5. The time now is 08:57 PM.