19 Mar 2006 at 20:09 #1 RomeoS RomeoS Associate Joined 8 Jul 2004 Posts 1,818 Location London What kind of commands do I need in a batch file to force it to restart service "X" on a server every 2 days? OS: Windows 2003 Enterprise SP1
What kind of commands do I need in a batch file to force it to restart service "X" on a server every 2 days? OS: Windows 2003 Enterprise SP1
19 Mar 2006 at 20:28 #3 RomeoS RomeoS Associate OP Joined 8 Jul 2004 Posts 1,818 Location London Hi mate, So in notepad I type: Net Stop "X" Net start "X" Click to expand... Save it as ServiceX.bat and create a new scheduled task to run it every 2 days? Assuming of course the service name is actualy X.
Hi mate, So in notepad I type: Net Stop "X" Net start "X" Click to expand... Save it as ServiceX.bat and create a new scheduled task to run it every 2 days? Assuming of course the service name is actualy X.