Clarity

Expand all | Collapse all

how can we execute java job jar file from command line

  • 1.  how can we execute java job jar file from command line

    Posted Mar 22, 2017 03:21 AM

    Hi All,


    Is there any way to execute java job jar file from command line ?

     

    Best Regards,

    Lala



  • 2.  Re: how can we execute java job jar file from command line

    Posted Mar 22, 2017 05:43 PM

    I am assuming you want to run an OOTB jobs via the command line.

     

    So what I would do is wire up a process that in one of its steps it runs the job you are interested in.

     

    Then use (C#, Java, Powershell) write a simple script/program to use the invoke action web service method:

     

    https://cppm.ondemand.ca.com/niku/wsdl/InvokeAction/Process?tenantId=clarity 

     

    to fire off the process containing the job.

     

    V/r,

    Gene