![SoftTree Technologies](templates/GreenTech/images/logo.gif) |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
John Natale
Joined: 13 Sep 2000 Posts: 107
|
|
executing a sinlge job from DOS command line |
|
Hello,
In the old 24x7 windows version (3.6) you used to be able to execute the following from the command line
24x7 /JOB <job ID>
Is such a thing available in the 5.2 multi-platform edition?
Thanks,
John
|
|
Mon Oct 13, 2014 1:40 pm |
|
![](templates/GreenTech/images/spacer.gif) |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7849
|
|
|
|
Hello.
Yes, you can achieve the same using master.bat /JOB "job id or job name"
|
|
Mon Oct 13, 2014 11:59 pm |
|
![](templates/GreenTech/images/spacer.gif) |
John Natale
Joined: 13 Sep 2000 Posts: 107
|
|
|
|
Thank you for that information. I was not aware that the master.bat would accept a /job parameter.
I actually ended up writing a java class using the 24x7 JAVA API. This seemed to allow me the greatest flexibility.
java -classpath "%CLASSPATH%;JGL3.1.0.jar;JDPB24x7.jar;" runJob <24x7 master server> <port> <job name> <user> <password>
|
|
Tue Dec 02, 2014 10:41 am |
|
![](templates/GreenTech/images/spacer.gif) |
|
|
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
|
|
|