[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] /bin/bash: root/



Bryan - Utopian Web Productions wrote:

> That's the right syntax; why is it trying to run "root" at a command?
> 
> Have you tried manipulating any cron jobs manually?  How?

You haven't answered this question yet, Bryan.

> Can you send us a copy of your /etc/crontab file?  It shouldn't be more
> than a few lines long.
> 
> 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
> 
> # Monitor services to make sure everything is still okay.
> 0,15,30,45 * * * * root /usr/local/sbin/swatch >>/var/cobalt/adm.log 2>&1

Everything looks good here; the syntax is proper, the contents are
right, and my systems certainly aren't giving me the error <frown>.

Can you do an

# ls -al /etc/cron.hourly

and send us a copy of the results?

I really don't know.

Hmmmmmm.....

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205