| Dear Sarah, Hope you are fine. Please try this script, it works fine with the appropriate sequence. To stop Apps service: =============== Ex: === Date /T Time /T |
set ORACLE_HOME=e:\oracle\<sid>ora\8.0.6 set ORACLE_SID=<SID> |
| Net stop "OracleApacheServerHPP1_spud" Net stop OracleFormsServer-Forms60PROD_spud Net stop OracleConcMgrPROD_spud Net stop "Oracle Reports Server [Rep60_spud]" Net stop OraclePRODOra806_2TNSListener80APPS_spud D:\oracle\proddb\9.2.0\bin\sqlplus /nolog @d:\script\sh.sql Net stop OraclePROD_db920_RDBMSTNSListenerPROD Net stop OracleServicePROD Script at d:\script\sh.sql =================== conn / @prod as sysdba shutdown immediate exit To start having backup , & then starting Apps services: This should be added at the script, then all the script should be scheduled by windows schedule. ========================== EX: === XCOPY D:\Oracle\ProdData\*.* D:\OraBackup\prodData\*.* /v /r /h /y Net start OraclePROD_db920_RDBMSTNSListenerPROD Net start OracleServicePROD Net start OraclePRODOra806_2TNSListener80APPS_PROD Net start OracleFormsServer-Forms60PROD_spud Net start "Oracle Reports Server [Rep60_spud]" Net start OracleConcMgrPROD_spud Net start "Oracle Apache Server PROD_spud" Date /T Time /T ========================================== These services can be disabled if they have no work to do. |
NET STOP OracleFulfillmentServerHPP1_spud NET STOP OracleMetricsClientHPP1_spud NET STOP OracleMetricsServerHPP1_spud |
| Foe any further queries please don't hesitate to contact me. Thanks and Best
Regards Mostafa Eletriby --- On Mon, 6/28/10, sarah.k <ski...@hallmark-uk.com> wrote: |
|
|
|
|
|