[windows2000] Re: Polling for a service

  • From: "Timothy R. Mangan" <tmangan@xxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Fri, 13 Jul 2007 07:09:10 -0400

Sc command.  Sc /? For syntax

-----Original Message-----
From: windows2000-bounce@xxxxxxxxxxxxx
[mailto:windows2000-bounce@xxxxxxxxxxxxx] On Behalf Of Sorin Srbu
Sent: Friday, July 13, 2007 7:02 AM
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Polling for a service

Hi all,

Is there a way to poll a service and see if it's running and if it's not,
send
a "net start service"-command to it?



-- 
  
BW,

Sorin

# Sorin Srbu, Systems Engineer  Web: http://www.orgfarm.uu.se
# Dept of Medicinal Chemistry,  Phone: +46 (0)18-4714482 >3 signals> GSM
# Div of Org Pharm Chem,                Mobile: +46 (0)701-718023
# Box 574, Uppsala University,  Fax: +46 (0)18-4714482
# SE-751 23 Uppsala, Sweden     Visit: BMC, Husargatan 3, D5:512b
#
# ()  ASCII ribbon campaign - Against html E-mail 
# /\
#
# Harmless tagline follows:
#
# The nice thing about standards is that there are so many to choose from.



*****************************
New Site from The Kenzig Group!
Windows Vista Links, list options 
and info are available at:
http://www.VistaPop.com
***************************** 
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm


*****************************
New Site from The Kenzig Group!
Windows Vista Links, list options 
and info are available at:
http://www.VistaPop.com
***************************** 
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: