Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: batch file for oracle
svrmgr30 or svrmgrl will accept command-line arguments.
Here is an NT example, which could be schedule via the AT service.
It is broken into two part
1- The NT command file
2- The SQL Script run by svrmgr30
connect internal/ntoracle8i_at_AURP;
shutdown immediate;
startup restrict open pfile=E:\ORAAdmin\AURP\pfile\initAURP.ora;
shutdown normal;
exit;
Regards
Peter Winters
System Frustrator
Trinity Software
CAIRNS Queensland AUSTRALIA
<marishen_at_my-deja.com> wrote in message news:860lat$b9d$1_at_nnrp1.deja.com...
> how do you write a batch file to stop and start the oracle engines at a
> specific time in order to backup the database, etc?
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Tue Jan 18 2000 - 00:41:30 CST
![]() |
![]() |