-
Hi,
How can I ensure oracle is shut down in the automatic scripts?
I'm trying to create an automatic backup scripts performing in every midnight. But I have an experience that I tried to issue the command shutdown immediate manually but the system hangs up. I wonder how can I ensure the command shutdown immediate is done properly and the following backup script are performed ??
I'm using Oracle 8.1.5 in Window NT4. The automatic scripts are written in dos command file to perform the physical operating system backup.
Any suggestion please?
Thanks,
nngk
-
you can know if the service is running if the following command gives you something :
net start | find "OracleService[SID]"
-
Oh pipo,
how can I make it work in the AUTOMATIC scripts?
-
net start | find "OracleServiceTEST" > nul
if not errorlevel 1 goto OK
echo DB TEST is stopped
goto NEXT
:OK
echo DB TEST is started
:NEXT
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|