Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shut off services 1

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
0
36
US
Can I create a scheduled task that will shul off the Winsock and WEB proxy services every Friday at 7:00pm and then another one to turn them on Monday aat 6:00am

How do I shut down a service from the command prompt?

TIA

DougP, MCP
 
Hi Doug,

With Proxy Server 2.0, you could write a simple batch file using remotmsp:

remotmsp STOP -SERVICE:WSP
remotmsp STOP -SERVICE:WP

and then use Task Scheduler to run the batch file when needed. To turn it back on:

remotmsp START -SERVICE:WSP
remotmsp START -SERVICE:WP

but I bet you could have guessed that ;-)

Regards,

z.
 
No, I had no idea where to start.
Thanks though

So I created StopServ.bat
put those two lines in it
then what

NT does not have a groovy task program like 2000 and XP does it?
Or do I go in the Run command and type
AT stopserv.bat
How do I schedule it?



DougP, MCP
 
Hi Doug,

NT does have a task scheduler. I haven't used it in a while, but if memory serves me, if you just open "My Computer" you'll see a folder called Scheduled Tasks. If you open that, you will see something like "Create new task" that is the Scheduling Wizard.

Let me know if you can't find that and I will try to find it wherever it may be. I know it's somewhere.

Regards,

z.
 
OOh Yeah baby
how 'bout a STAR

DougP, MCP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top