Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: closing DB on NT with a scheduled BATCH FILE
or use oradim...
oradimxx.exe -shutdown -sid <sid> -usrpwd <password> -shuttype inst
-shutmode i
oradimxx.exe -startup -sid <sid> -usrpwd <password> -starttype inst -pfile
<path\init<sid>.ora>
-----Original Message-----
Sent: Thursday, August 09, 2001 12:45 PM
To: Multiple recipients of list ORACLE-L
containts of startdb.bat
2. create startup.sql
containts of startup.sql
3. Create Batch file stopdb.bat
containts of stopdb.bat
4. create stop.sql
containts of stop.sql
now schedule startdb.bat & stopdb.bat into NT scheduler. If you want to do
it
thru a single bat file than call the 2nd bat from 1st.
I hope this clarifies your problem.
Regards,
Ramesh D Papnoi
(BrainBench & Brainbuzz Certified Oracle 8/8i DBA & Developer)
http://www22.Brinkster.com/rpapnoi
To: internet["Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>]
Hi Ihoska ,
I am sorry to read your reply.
Firstly Not a silly question.
Yes I am sure batch file runs because I can run it directly correctly. Yes I
create log file.
I investigate task manager if svrmgrl runs and look at v$session and it
connects .
So not a silly question as you see. Only thing is you do not understand the
problem perhaps.
silly question.
Are you sure your batch file runs? Do you create logs? If so, did you
check if log was created?
How do you know it connects.
I have similar batch files. They run either way with no problems.
-----Original Message-----
From: Bunyamin K. Karadeniz [mailto:bunyamink_at_havelsan.com.tr]
Sent: Wednesday, August 08, 2001 9:15 AM
To: Multiple recipients of list ORACLE-L
Subject: closing DB on NT with a scheduled BATCH FILE
Dear Gurus , I have a question , In fact I wonder if it is a bug of NT .
I want to close and reopen database with a .BAT file .
When I execute the .bat file directly it executes correctly . But When
I
execute it with a schedule with AT command then it connects but does not
close database.
How can I handle That. ?
What do you do when you want to schedule startups and shutdowns of
database on NT?
Thank you
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: rpapnoi_at_chemtex.co.in Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Thu Aug 09 2001 - 13:04:17 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: lhoska_at_calibresys.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |