From owner-freebsd-questions Sat Apr 4 15:27:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21531 for freebsd-questions-outgoing; Sat, 4 Apr 1998 15:27:49 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from python.shoal.net.au (perrya@python.shoal.net.au [203.26.44.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21522 for ; Sat, 4 Apr 1998 15:27:41 -0800 (PST) (envelope-from perrya@python.shoal.net.au) Received: from localhost (perrya@localhost) by python.shoal.net.au (8.8.6/8.8.5) with SMTP id JAA00996; Sun, 5 Apr 1998 09:27:24 +1000 (EST) Date: Sun, 5 Apr 1998 09:27:24 +1000 (EST) From: Andrew To: Harry Patterson cc: freebsd-questions Subject: Re: crontab problems In-Reply-To: <01bd5fd8$f4084800$5fca4ace@hp.harry.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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