SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Probably a simple Question

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Probably a simple Question
Author Message
dave



Joined: 16 Jun 2003
Posts: 41

Post Probably a simple Question Reply with quote

I simply need to stop then start a few services with 24x7.

Can I get the syntax? In JAL or VBS, it doesnt matter.

Tue Mar 29, 2005 11:09 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7974

Post Re: Probably a simple Question Reply with quote

In JAL use
ServiceStop "MyService1"
ServiceStart "MyService1"

Please note that "MyService1" here is the unique service name as it is registered with the system and not the "display name" appearing in the Control Panel which could be different from the real service name.

If you rather would like to use display names then do the following:

Dim pid, number
RunAndWait "net /STOP \"My Service Name 1\"", "", 0, pid
RunAndWait "net /START \"My Service Name 1\"", "", 0, pid

: I simply need to stop then start a few services with 24x7.

: Can I get the syntax? In JAL or VBS, it doesnt matter.

Tue Mar 29, 2005 11:51 am View user's profile Send private message
wieland



Joined: 24 Apr 2005
Posts: 1

Post Re: Probably a simple Question Reply with quote

: Please note that "MyService1" here is the unique service name as it
: is registered with the system and not the "display name"
: appearing in the Control Panel which could be different from the real
: service name.

Where can I find the unique service name as it is registered with the system?
Greetings
Wieland

Sun Apr 24, 2005 5:04 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7974

Post Re: Probably a simple Question Reply with quote

In Control Panel/Services applet. This is the first line on the service properties dialog.

: Where can I find the unique service name as it is registered with the system?
: Greetings
: Wieland

Sun Apr 24, 2005 9:24 pm 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.