[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] /bin/bash: root/
- Subject: RE: [cobalt-users] /bin/bash: root/
- From: "Bryan - Utopian Web Productions" <bryan@xxxxxxxxxxx>
- Date: Sun Jan 21 08:10:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> 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.....
The results were the following. Notice the "total 5" with only 3 showing??
Hmmmm...
ls -al /etc/cron.hourly
total 5
drwxr-xr-x 2 root root 1024 Oct 13 11:04 .
drwxr-xr-x 36 root root 3072 Jan 21 04:12 ..
-rwxr-xr-x 1 root root 571 Jul 25 17:22 asp_monitor.sh