Hi Managers.
I have to run via cron a script that exports an Oracle Database.
The script runs fine from shell but it doesn't run if submitted by crontab.
The system is a server 4100 DigitalUNIX 4.0D.
The script looks like this:
#!/bin/sh
ORACLE_HOME=/path;export ORACLE_HOME
ORACLE_SID=SiD;export ORACLE_SID
${ORACLE_HOME}/bin/svrmgrl <<FINE
connect internal
--shutdown abort
--startup exclusive open restrict
host ${ORACLE_HOME}/UTL/BCK/bck
--alter system disable restricted session;
exit
FINE
Thanks.Ciao.
______________________________________________
Isidoro Sepe - Telesoft spa
Via Vicinale S.Maria del Pianto,snc
80143 Napoli
Phone : +39-81-7564486
Fax : +39-81-7564252
email : isidoro.sepe_at_tlsoft.it
______________________________________________
Received on Wed Oct 28 1998 - 10:35:27 NZDT