* Problems with crontab
@ 1998-10-28 10:30 Isidoro Sepe
0 siblings, 0 replies; only message in thread
From: Isidoro Sepe @ 1998-10-28 10:30 UTC (permalink / raw)
To: tru64-unix-managers
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
______________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-10-28 10:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-28 10:30 Problems with crontab Isidoro Sepe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox