【无标题】

bat批处理运行多个jar/war包
{echo off 表示不回显 @表示当前行不回显}

@echo off
start javaw -javaagent:D:\webroot\pinpoint-agent-2.0.3\pinpoint-bootstrap-2.0.3.jar -Dpinpoint.agentId=10.4.18.119news -Dpinpoint.applicationName=centanet-news -Dfile.encoding=utf-8 -jar D:\WebRoot\news.centanet.com.api.java\news-0.0.1-SNAPSHOT.jar --server.port=8044 --spring.profiles.active=prod &

start javaw -Dfile.encoding=utf-8 -jar D:\WebRoot\news.centanet.com.website.m\m-1.0.0.war --server.port=8045 --spring.profiles.active=prod &

start javaw -Dfile.encoding=utf-8 -jar D:\WebRoot\news.centanet.com.website.pc\news.pc-1.0.0.war --server.port=8046 --spring.profiles.active=prod &

start javaw -javaagent:D:\Webroot\pinpoint-agent-2.0.3-points\pinpoint-bootstrap-2.0.3.jar -Dpinpoint.agentId=10.4.18.112points -Dpinpoint.applicationName=centanet-points -Dfile.encoding=utf-8 -jar D:\WebRoot\partner.centanet.com_points.api\api-1.0.0.jar --server.port=8244 --spring.profiles.active=prd &

start javaw -Dfile.encoding=utf-8 -jar D:\WebRoot\partner.centanet.com_points.m\m-1.0.0.war --server.port=8245 --spring.profiles.active=prod &

start javaw -Dfile.encoding=utf-8 -jar D:\WebRoot\partner.centanet.com_points.pc\points.pc-1.0.0.war --spring.profiles.active=prd &

exit

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值