Hi Satya,
> /home/lab/MyScript.sh: line 3: root: command not found
>
>
> Note: when I am running MyScript.sh by
> [...]$sh MyScript.sh
> simple shell it works without error.
the cron job will work as a superuser, so you have to check if the superuser is able to run ROOT. In case it is not you should check if the ROOTPATH variable is set (since when you set the PATH it is only valid for normal user).
Regards,
Marco Calviani
Received on Sun Sep 03 2006 - 11:16:19 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET