[wplug] cron.hourly problem

wplug at wplug.org wplug at wplug.org
Sun May 19 15:57:47 EDT 2002


Here is my crontab file:

[henry at sherry /etc]$ cat crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly



--On Sunday, May 19, 2002 2:25 PM -0400 Rick Smith <rick at rbsmith.com> 
wrote:r

> 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
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug



Henry Umansky

University of Pittsburgh
Systems/Programmer III
www.pitt.edu/~hmust2
hmust2 at pitt.edu
(412)624-4357




More information about the wplug mailing list