Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Paul Tomblin <ptomblin@xcski.com>
To: axp-list@redhat.com
Subject: Re: off-topic: problem with cron Daemon
Date: Thu, 28 Jan 1999 14:39:32 -0500	[thread overview]
Message-ID: <19990128143932.A4398@xcski.com> (raw)
In-Reply-To: <Pine.LNX.3.96.990128142052.10640A-100000@bec.physics.udel.edu>; from Jonathan L Dubois on Thu, Jan 28, 1999 at 02:29:06PM -0500

Quoting Jonathan L Dubois (dubois@bec.physics.udel.edu):
> I keep getting errors mailed from the cron daemon like the following:
> 
> Date: Fri, 22 Jan 1999 15:01:00 -0500
> From: Cron Daemon <root@bec.physics.udel.edu>
> To: root@bec.physics.udel.edu
> Subject: Cron <root@bec> root run-parts /etc/cron.hourly
> 
> /bin/bash: root: command not found

I'm guessing that you made the same mistake I made when I first moved to a
system with vixie-cron, and you installed the crontab.  You don't install that
crontab that's sitting in /etc/crontab, it's run automatically.  And it has
slightly different syntax than the sorts of crontabs you install using the
"crontab" command.  The important difference is that "root" there - it tells
cron which userid to run it as.  But that's only valid when the file is
sitting in /etc/crontab, not when it's installed.

Confused yet?  Ok, do this:

crontab -r

Then everything should be fine.

-- 
Paul Tomblin, not speaking for anybody.
"But I heard him exclaim, as he climbed in the night
Merry Christmas to all, I have traffic in sight" - Phyllis Moses


  reply	other threads:[~1999-01-28 19:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-28 19:29 off-topic: problem with cron Daemon Jonathan L Dubois
1999-01-28 19:39 ` Paul Tomblin [this message]
1999-01-28 19:56 ` Paul B. Brown
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox