Problems with crontab

From: Isidoro Sepe <isidoro.sepe_at_tlsoft.it>
Date: Wed, 28 Oct 1998 11:30:08 +0100

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

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT