LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-13-2004, 06:56 PM   #1
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Rep: Reputation: 32
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
shreev
Member
 
Registered: Apr 2003
Location: India
Distribution: Slackware 10
Posts: 37

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

HTH..
 
Old 11-17-2004, 09:00 AM   #3
shreev
Member
 
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..

HTH
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:14 PM.

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