Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to stop the oracle services automatically in every day 11.30 pm.
Posted
Updated 27-Jan-10 18:09pm
v3

1 solution

One example is to schedule a task on the server that is to execute a .BAT file that runs a SQL*Plus command script. Within the script you connect to the database as SYSDBA and issue the 'shutdown immediate' command.

Script command
sqlplus /nolog @shut_db.sql

shut_db.sql
connect db_admin as sysdba
shutdown immediate;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900