This is the crontab.  It's exactly the same as the one
on another box that works correctly.  Same ownerships
and rights as well....
===============================================

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root

# Run any at jobs every minute
#* * * * * root [ -x /usr/sbin/atrun ] &&
/usr/sbin/atrun

# run-parts
03,18,33,48 * * * * root run-parts
/etc/cron.quarter-hourly
04,34 * * * * root run-parts /etc/cron.half-hourly
01 * * * * root run-parts /etc/cron.hourly
05 0,6,12,18 * * * root run-parts
/etc/cron.quarter-daily
02 1 * * * root run-parts /etc/cron.daily
02 2 * * 0 root run-parts /etc/cron.weekly
02 3 1 * * root run-parts /etc/cron.monthly

# Remove /tmp, /var/tmp files not accessed in 10 days
(240 hours)
41 02 * * * root /usr/sbin/tmpwatch 24 /tmp /home/tmp
/var/tmp /var/cobalt/tmp

# Remove formatted man pages not accessed in 10 days
39 02 * * * root /usr/sbin/tmpwatch 240
/var/catman/cat?

# Monitor services to make sure everything is still
okay.
0,15,30,45 * * * * root /usr/local/sbin/monitor
====================================================

Harry
--- WDS Sales <[EMAIL PROTECTED]> wrote:

> What are the lines in your crontab?
> Do you get any errors when saving it?
> 
> Cheers,
> C
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Behalf Of Harry
> Sent: 18 August 2005 20:17
> To: [email protected]
> Subject: [cobaltfacts] cron job errors
> 
> 
> I recently added a cron job to one of my old raq2's.
> 
> I still have a couple in service.  After adding a
> job
> on one of them, I have started getting email
> notifications of errors which I've never got before.
> 
> I checked everything I could think of, i.e.
> ownerships, rights, etc of crontab, but everything
> is
> identical to another system which isn't producing
> the
> error.  Here is the error:
> 
> /bin/bash: root: command not found
> 
> TIA,
> 
> Harry
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> _______________________________________________
> Cobaltfacts site list
> [email protected]
>
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts
> 
> _______________________________________________
> Cobaltfacts site list
> [email protected]
>
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts
> 



                
__________________________________ 
Yahoo! Mail for Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
_______________________________________________
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

Reply via email to