5

I have a Jboss service in Windows server 2003. Is there a way to schedule the service to restart automatically on a daily basis?

batty
  • 597
  • 2
  • 6
  • 15

1 Answers1

11

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>
helios
  • 2,603
  • 4
  • 21
  • 26