Hello, Have u tried export PATH=/usr/local:/usr/bin:$PATH
Please correct me if I'm totally off or not understanding the prob. j Khademul Islam said: > I have setup crontab, using crontab -e to send some > e-mail in a routine basis. This is the error message I > got ... how I can fix it? > >>>> > & 9 > Message 9: >>From [EMAIL PROTECTED] Mon Sep 1 > 06:02:01 2003 > Date: Mon, 1 Sep 2003 06:02:00 -0500 > From: [EMAIL PROTECTED] (Cron Daemon) > To: [EMAIL PROTECTED] > Subject: Cron <[EMAIL PROTECTED]> root run-parts > /etc/cron.specialDelete > X-Cron-Env: <SHELL=/bin/sh> > X-Cron-Env: <HOME=/home/dislam> > X-Cron-Env: <PATH=/usr/bin:/bin> > X-Cron-Env: <LOGNAME=dislam> > > /bin/sh: line 1: root: command not found > > & >>>>>>>>>> > > This is what I have in the crontab file(when I type > crontab -e after logging in as dislam on the server) >>> > > 10 7 * * * root run-parts /etc/cron.special > 02 6 16 * * * root run-parts /etc/cron.specialMonthly > 02 22 * * 6 root run-parts /etc/cron.specialWeekly > >>>> I added the following to my present path > export PATH=/usr/local:/usr/bin:$PATH:/bin/sh > > I am using bash shell > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list