根据需要,定时重启websphere6.0,因此写了一个简单测批处理restart.bat:
@echo off
echo start
set waspath="D:\Program Files\IBM\WebSphere\AppServer\bin"
call %waspath%/setupCmdLine.bat
call %waspath%/stopserver.bat server1 -username administrator -password
call %waspath%/startserver.bat server1
echo end >> %waspath%/a.txt
阅读(2328) | 评论(0) | 转发(0) |