注意: 這個主要是用來啟動weblogic服務(wù)使用典奉,如果有需要隨意修改移斩。
@echo off
start "代碼更新" cmd /K "cd /d E:\ifmis3.0 && svn update"
rem start "代碼更新" cmd /K "cd /d D:\batch && svnupdate.bat"
ping -n 2 127.0.0.1>nul
rem start "更新文檔" cmd /K "cd /d E:\01測試申請\01支付管理 && svn update"
rem 刪除服務(wù)緩存
start "刪除平臺緩存" cmd /K "cd /d C:\Oracle\Middleware\user_projects\domains\fasp_domain\servers\AdminServer && rmdir /S /Q cache data logs tmp"
start "刪除oa緩存" cmd /K "cd /d C:\Oracle\Middleware\user_projects\domains\oa_domain\servers\AdminServer && rmdir /S /Q cache data logs tmp"
start "刪除支付緩存" cmd /K "cd /d C:\Oracle\Middleware\user_projects\domains\pay_domain\servers\AdminServer && rmdir /S /Q cache data logs tmp"
ping -n 5 127.0.0.1>nul
start cmd /K "cd /d C:\Oracle\Middleware\user_projects\domains\fasp_domain && startWebLogic.cmd"
ping -n 2 127.0.0.1>nul
rem start cmd /K "cd /d C:\Oracle\Middleware\user_projects\domains\bis_domain && startWebLogic.cmd"
rem 延時加載
ping -n 120 127.0.0.1>nul
rem start cmd /K "cd /d C:\Oracle\Middleware\user_projects\domains\pay_domain && startWebLogic.cmd"
start cmd /K "cd /d C:\Oracle\Middleware\user_projects\domains\oa_domain && startWebLogic.cmd"
rem start cmd /K "cd /d C:\Oracle\Middleware\user_projects\domains\timetask_domain && startWebLogic.cmd"
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者