From: Isidoro Sepe <isidoro.sepe () tlsoft ! it>
To: tru64-unix-managers
Subject: Problems with crontab
Date: Wed, 28 Oct 1998 10:30:08 +0000 [thread overview]
Message-ID: <96078724212165.tru64-unix-managers.marc@archive.invalid> (raw)
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@tlsoft.it
______________________________________________
reply other threads:[~1998-10-28 10:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox