Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: svrmgrl command line?
I found this solution in the Oracle books.
You can create a script like the following:
connect internal shutdown immediate exit;
Save this file shutdown.sql
Call it like this in your unix or whatever script.
svrmgrl command=@shutdown.sql
chengchisang_at_hotmail.com wrote in article <871251285.14959_at_dejanews.com>...
> Hello,
>
> I need to shutdown the database through running a script. I realize that
> svrmgrl is an interactive tool. Is there a way I can shut it down from a
> script (sh or perl)? The Server Manager Reference is not included in my
> installation. Thanks for your help!
>
>
> Regards,
> Griffin.
>
> -------------------==== Posted via Deja News ====-----------------------
> http://www.dejanews.com/ Search, Read, Post to Usenet
>
Received on Tue Aug 12 1997 - 00:00:00 CDT