execute asmcmd from shell script in AIX
hello everyone I am trying tu write a script which will send me an email everytime my asm filesystems pass a certain umbral
so far it works fine if i run the script directly like this ./asm.sh
but if i try to execute the script through the crontab i get the following error
Your "cron" job executed on sicpro01 on Sun Nov 18 13:27:00 CST 2012
/fsbackup/shell/asm.sh
produced the following output:
The Oracle base for ORACLE_HOME=/u01/app/grid/product/11.2.0/grid is /u01/app/grid
/fsbackup/shell/asm.sh[28]: asmcmd: not found.
/fsbackup/shell/asm.sh[33]: asmcmd: not found.
0