|
|
Re: Script for automating Oracle database startup & shutdown in NT [message #19410 is a reply to message #19393] |
Thu, 14 March 2002 21:00 |
Arun Srivastav
Messages: 1 Registered: March 2002
|
Junior Member |
|
|
create a file..say AUTOSTART.BAT
text in
set ORACLE_SID=ORCL
svrmgrl @C:Ora81start.sql
exit
create a file..say AUTOSTOP.BAT
text in
set ORACLE_SID=ORCL
svrmgrl @C:Ora81stop.sql
exit
start.sql:
connect internal
startup
exit
stop.sql
connect internal
shutdown immediate
exit
Then use windows schedular to get the time and date and run the consequetive bat files
|
|
|