[wplug] cron.hourly problem

Rick Smith rick at rbsmith.com
Sun May 19 14:25:36 EDT 2002


On Sun, May 19, 2002 at 12:30:21PM -0400, Bryce Lynch wrote:
> On Sat, 18 May 2002, James O'Kane wrote:
> > [..] I can't find it in a quick scan of the man pages, but I think for 
> > /etc/crontab it executes the command as the user in field 6. [..]
> 
> Which version of the cron daemon?  I'm running dcron v2.3.3 on Leandra,
> and this is the format of a valid job:
> 
> 05 23 * * * /usr/local/bin/esdplay /home/drwho/sounds/pacman2.au
> 
> No username in there anywhere.

>From "man 5 crontab" on RH 7.2 (emphasis added by me):

: The format of a cron command is very much the V7 standard,
: with a number of upward-compatible extensions. Each line
: has five time and date fields, FOLLOWED BY A USER NAME
: IF THIS IS THE SYSTEM CRONTAB FILE, followed by a command.

> > different from user crontab files, usually stored in /var/spool/cron and 
> > editted with crontab(1).
> 
> I think we're running two different cron daemons, then...

Probably the case, since RH man page lists extensions exist, but
doesn't detail what the extensions are.

Anyway, seems like something in all of this should give a pointer
to the original posted problem of seeing 'root' run as a command:
that either there are too many fields in the crontab or that the 
crontab is from one distribution and the cron daemon from another.

-- Rick



More information about the wplug mailing list