SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
ServiceGetStatus

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
ServiceGetStatus
Author Message
Rob Johnson



Joined: 21 Jul 2004
Posts: 2

Post ServiceGetStatus Reply with quote

I'm trying to do this on a Windows 2000 Server platform:

ServiceGetStatus("Print Spooler", status)

But status always returns "ERROR".

What am I doing wrong?

Thanks,
Rob

Wed Jul 21, 2004 1:05 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: ServiceGetStatus Reply with quote

Don't use service display name. ServiceGetStatus only understands service names. For print spooler service name is "Spooler".

ServiceGetStatus("Spooler", status)

: I'm trying to do this on a Windows 2000 Server platform:
: ServiceGetStatus("Print Spooler", status)

: But status always returns "ERROR".

: What am I doing wrong?

: Thanks,
: Rob

Wed Jul 21, 2004 2:04 pm View user's profile Send private message
Rob Johnson



Joined: 21 Jul 2004
Posts: 2

Post Re: ServiceGetStatus Reply with quote

Thanks for the quick answer!

Helps when you use the right service name :)

Thu Jul 22, 2004 7:38 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.