Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-13-2004, 06:56 PM   #1
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1/13.37/14 RedHat 6.2/7/EL6.5 SuSE 8.2/11.1
Posts: 471

Rep: Reputation: 30
cron log empty

I'm using slack 9.1 and have "only" recenlt noticed that my con logs are empty.
/var/log/cron , /var/log/cron1. etc.etc

I know my cron jobs are getting carried out but I would like to have this logged, how should I go about configuring it?

Thanks in advance...
Old 11-17-2004, 02:05 AM   #2
Registered: Apr 2003
Location: India
Distribution: Slackware 10
Posts: 37

Rep: Reputation: 15
Check the rc scripts(/etc/rc.d/*) where crond is getting I remember it currently starts with a level 10, which should be changed to 8 to get it to log stuff.

Old 11-17-2004, 09:00 AM   #3
Registered: Apr 2003
Location: India
Distribution: Slackware 10
Posts: 37

Rep: Reputation: 15
ok... to be a little less vague...

In /etc/rc.d/rc.M, there is a line where crond is started, change the argument given to crond to -l8, i.e.

before: /usr/sbin/crond -l10 >>/var/log/cron 2>&1
after: /usr/sbin/crond -l8 >>/var/log/cron 2>&1

should work OK now..



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
KDE empty blue screen after log in moxieman99 Linux - Newbie 2 02-04-2009 10:09 AM
/var/log/messages empty Phathead Slackware 5 12-13-2004 11:43 AM
Evidence for being cracked? Empty log file mijenks Linux - Security 10 04-29-2004 12:16 PM
VNC - can log in but get empty X screen davedenis Linux - Software 7 03-01-2004 04:59 PM
dual entries in cron log for cron.daily cpharvey Linux - General 3 02-27-2003 02:30 PM

All times are GMT -5. The time now is 12:59 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