SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
executing a sinlge job from DOS command line

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
executing a sinlge job from DOS command line
Author Message
John Natale



Joined: 13 Sep 2000
Posts: 107

Post executing a sinlge job from DOS command line Reply with quote
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6500

Post Reply with quote
Hello.

Yes, you can achieve the same using master.bat /JOB "job id or job name"
Mon Oct 13, 2014 11:59 pm View user's profile Send private message
John Natale



Joined: 13 Sep 2000
Posts: 107

Post Reply with quote
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 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.