windows开启多个命令行多任务bat.md
注意: 这个主要是用来启动weblogic服务使用,如果有需要随意修改。
@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 删除服务缓存
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"
本文标题:windows开启多个命令行多任务bat.md
本文链接:https://www.haomeiwen.com/subject/nwmhzttx.html
网友评论