Date: Wed, 21 Feb 2001 16:31:41 -0500 (EST) From: Dru <genisis@istar.ca> To: Lowell Gilbert <lowell@world.std.com> Cc: freebsd-questions@FreeBSD.ORG, Jim McIver <jmciver@lmtribune.com> Subject: Re: cron mail Message-ID: <Pine.BSF.4.21.0102211628430.51953-100000@x1-6-00-00-b4-94-9d-3f.kico1.on.home.com> In-Reply-To: <44lmqz4tfr.fsf@lowellg.ne.mediaone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21 Feb 2001, Lowell Gilbert wrote: > I don't have my copy at hand, but I'm *sure* that the book did not > advise you to type "crontab /etc/crontab". > > It is, nonetheless, a frequently asked question. See > http://www.freebsd.org/FAQ/admin.html#ROOT-NOT-FOUND-CRON-ERRORS Actually, it does on page 156 of the second edition. "crontab crontab" installs a crontab that you've created with an editor. This step is unnecessary if you edit the crontab directly using "crontab -e" as this switch invokes the vi editor for you then updates the crontab accordingly. Cheers, Dru > > > Now every 5 minutes root gets an email. Something like: > > Cron <root@ns1> root > > From: root > > To: root > > x-cron-env <shell=/bin/sh> > > etc.... > > > > root not found > > > > I've killed cron to stop the message, but why is it doing this? > > > > My shell is set to /bin/csh and I've tried changing it back to /bin/sh, > > (chsh)but the messages just keep coming. > > > > Only line I can see in the crontab file that's causing this is: > > /5 * *........root /usr/libexec/atrun > > > > I can't seem to come up with enough info on atrun to help, or how to > > tell Cron-env that the shell is now /bin/csh. > > > > Any ideas? > > > > > > Jim McIver > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > > 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.BSF.4.21.0102211628430.51953-100000>