Get Job Id programmatically for SavePoint

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Get Job Id programmatically for SavePoint

Rahul Raj
Hi,

Is there a way I can get job id of my application programmatically or through api's for doing savepoint?

Rahul Raj
Reply | Threaded
Open this post in threaded view
|

Re: Get Job Id programmatically for SavePoint

Mauro Cortellazzi

Hi Rahul, probably is not the best way, but you could call jobmanager REST endpoint:

http://[JOBMANAGER_HOST]:8081/joboverview

who returns the list of running jobs and you could detect the right job id for example starting from the job name.

I hope this could be helpfull.

Mauro


Il 15/09/2017 22:47, Rahul Raj ha scritto:
Hi,

Is there a way I can get job id of my application programmatically or through api's for doing savepoint?

Rahul Raj