Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Shuttung Down DB from Cron

Re: Shuttung Down DB from Cron

From: Steve Phelan <stevep_at_no-spam.pmcgettigan.demon.co.uk>
Date: 1997/07/10
Message-ID: <33C4D798.95E22EEF@no-spam.pmcgettigan.demon.co.uk>#1/1

Jared Hecker wrote:

> Here's what to do:
>
> make a hidden file with the internal password
>
> write a script that:
>
> makes an environmental variable that loads the password from the
> hidden
> file
>
> run svrmgrl and calls an SQL script that shuts down the database
>
> cron it.
>
> hth -
>
> Regards,
> jh
>

Better still, just 'su - oracle' the script in cron - that's what I do... No need to hide any passwords, etc., etc., etc.

Steve Phelan. Received on Thu Jul 10 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US