Running a script from cron which has sqlplus calls, fails.
In the script I am doing su - oracle -c /home/oracle/IFSPtoIFSD/
Should this not work?
I get:
stty: tcgetattr: A specified file does not support the ioctl system call.
ksh: /home/oracle/IFSPtoIFSD: 0403-006 Execute permission denied.
------------------------------------------
(Does the directory have to by executable?!!)
/home/oracle/IFSPtoIFSD/copy1off.unix[40]: sqlplus: not found.
/home/oracle/IFSPtoIFSD/copy1off.unix[47]: fmtcontrol.unix: not found.
In the script I am doing su - oracle -c /home/oracle/IFSPtoIFSD/
Should this not work?
I get:
stty: tcgetattr: A specified file does not support the ioctl system call.
ksh: /home/oracle/IFSPtoIFSD: 0403-006 Execute permission denied.
------------------------------------------
(Does the directory have to by executable?!!)
/home/oracle/IFSPtoIFSD/copy1off.unix[40]: sqlplus: not found.
/home/oracle/IFSPtoIFSD/copy1off.unix[47]: fmtcontrol.unix: not found.