Miles-
Are you on Windows? If so, it is easy to write a batch script to get this
done. If not, have you ever used the "Groovy" scripting language?
http://groovy.codehaus.org/
I have used it for similar scripting as well.
Josh
-----Original Message-----
From: Miles Flint
[mailto:oracledba-ezmlmshield-x68572688.[Email address protected]
Sent: Thursday, September 30, 2004 8:04 AM
To: LazyDBA Discussion
Subject: Automated shut down on 9i
Hi I had a very nice script written years ago to shutdown a DB and take a
cold back up and restart the DB
This used Svrmgr connect internal which fell away with 9i.
Does anyone know of a work around , am trying sqlplus xxx/xxxx 'as sysdba'
but not getting far, just frustrated.
I also tried net stop oracleservice but this times out and the copy starts
before the db is shutdown
Any ideas would be welcome
Many Thanks
Miles
--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html
Oracle LazyDBA home page