Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 1998 09:27:24 +1000 (EST)
From:      Andrew <perrya@python.shoal.net.au>
To:        Harry Patterson <harry@visiontm.com>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: crontab problems
Message-ID:  <Pine.BSI.3.95.980405092310.551A-100000@python.shoal.net.au>
In-Reply-To: <01bd5fd8$f4084800$5fca4ace@hp.harry.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I am having trouble with cron. I have Freebsd 2.2.5. The daily, weekly and
> monthly processes work fine, but several days ago I started to get error
> message in root's mail (see below) stating "root: not found" whenever it
> tries to run atrun or newsyslog. I've included a sample from the cron log
> file, the crontab file itself and the mail message. The atrun and newsyslog
> files are in the directories that the crontab file is pointing to. It's the
> root crontab file, so I don't think it's a rights issue. I'm at a loss as to
> what it's trying to tell me and how to fix it.
> 
> Could someone point me in the right direction?

First. Have you made any changes recently?

Second: I wonder if there may be any hidden characters in the following
line between root and /usr/libexec/atrun ?

> */5     *       *       *       *       root /usr/libexec/atrun

> cron log example
> ********************************************
> Apr  4 09:30:00 visiontm CRON[657]: (root) CMD (/usr/libexec/atrun)
> Apr  4 09:30:00 visiontm CRON[658]: (root) CMD (root^I/usr/libexec/atrun)

Look at this					^^^^^^
it seems to be putting root before the pathname. I'd try remarking out the
line and adding it again underneath and see if that makes any difference.

hope this helps

Andrew Perry


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.980405092310.551A-100000>