开发者

Automate services restart in windows server 2003

开发者 https://www.devze.com 2023-03-26 05:21 出处:网络
I have a Jboss service in Windows server 2003. Is there a way to schedule the service to restart automatically on a da开发者_开发百科ily basis? Put the following commands in a batch or cmd file and us

I have a Jboss service in Windows server 2003. Is there a way to schedule the service to restart automatically on a da开发者_开发百科ily basis?


Put the following commands in a batch or cmd file and use windows scheduler to trigger it at desired schedule.

net stop <service_name>
net start <service_name>
0

精彩评论

暂无评论...
验证码 换一张
取 消