Broken crontab/anacron
James Pifer
jep at obrien-pifer.com
Tue Jan 25 21:34:26 UTC 2005
On Tue, 2005-01-25 at 16:09, Jeff Vian wrote:
> On Tue, 2005-01-25 at 13:23 -0500, James Pifer wrote:
> > >
> > > Have you checked /var/log/cron ? There should be a RELOAD event logged
> > > within 1 minute after any change to /etc/crontab .
> > >
> > > --
> > > Bob Nichols rnichols42 at comcast.net
> >
> > Ah, I did not see that log file before. Maybe this will help my
> > situation:
> >
> > Jan 25 11:44:29 mythtv crond[25864]: (CRON) STARTUP (V5.0)
> > Jan 25 11:44:29 mythtv crond[25864]: (*system*) BAD FILE MODE
> > (/etc/crontab)
> >
> That seems related to the permissions of /etc/crontab.
>
> By default it is
> [jeff at goliath ~]$ ls -l /etc/crontab
> -rw-r--r-- 1 root root 255 Sep 20 16:58 /etc/crontab
Yep, that's what I have.
[root at mythtv etc]# pwd
/etc
[root at mythtv etc]# ls -l crontab
-rw-r--r-- 1 root root 323 Jan 25 16:32 crontab
[root at mythtv etc]#
I updated crontab slightly and restarted crond (just being impatient). I
get nothing in the log at all now.
James
More information about the users
mailing list