Re: question about cron [FIXED]
- From: Bill Tangren <bjt@xxxxxxxxxxxxxxxx>
- Date: Tue, 26 Dec 2006 10:59:58 -0500
inode0 wrote:
On 12/26/06, Bill Tangren <bjt@xxxxxxxxxxxxxxxx> wrote:I have one server on which it does not seem that the cron daemon is working. I
use cron to do system backups and to rotate those backups (as well as quite a
few other things). None of them seem to be happening.
My question is, what do I look for in the logs to determine whether or not the
cron daemon is running, and if not, why not?
# chkconfig --list crond
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# service crond status
crond (pid 3311) is running...
/var/log/cron may be helpful.
John
var/log/cron was what I needed. This is the last entry in /var/log/cron:
Dec 18 09:46:29 mach2 crond[3880]: (CRON) STARTUP (V5.0)
Dec 18 09:46:29 mach2 crond[3880]: (*system*) BAD FILE MODE (/etc/crontab)
Dec 18 09:46:32 mach2 anacron[3944]: Anacron 2.3 started on 2006-12-18
Dec 18 09:46:33 mach2 anacron[3944]: Normal exit (0 jobs run)
I googled on "BAD FILE MODE" and only came up with improper permissions on /etc/crontab. I had somehow set it to 700, when it needed to be 644. I think that fixed the problem.
Thanks everyone!
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Follow-Ups:
- Re: question about cron [FIXED]
- From: nilesh vaghela
- Re: question about cron [FIXED]
- References:
- question about cron
- From: Bill Tangren
- Re: question about cron
- From: inode0
- question about cron
- Prev by Date: Re: question about cron
- Next by Date: Re: question about cron
- Previous by thread: Re: question about cron
- Next by thread: Re: question about cron [FIXED]
- Index(es):
Relevant Pages
|
|