# Check if job is already running

**URL:** <https://forum.cloverdx.com/t/check-if-job-is-already-running/1445>\
**Category:** CloverDX Platform\
**Created:** [June 30, 2014, 12:00am UTC](https://forum.cloverdx.com/t/check-if-job-is-already-running/1445 "2014-06-30T00:00:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![scl84](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@scl84](https://forum.cloverdx.com/u/scl84)\
**Post date:** [June 30, 2014, 12:00am UTC](https://forum.cloverdx.com/t/check-if-job-is-already-running/1445/1 "2014-06-30T00:00:00Z")

</div>

Hi,

While running a job in Clover ETL server, i need to check if another instance of that job is already running or not.  
Is there anyway to check that ?

Thanks in advance for your help.

Regards,  
scl

---

<div class="post-metadata">

**Author:** ![slechtaj](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@slechtaj](https://forum.cloverdx.com/u/slechtaj)\
**Post date:** [July 1, 2014, 10:07am UTC](https://forum.cloverdx.com/t/check-if-job-is-already-running/1445/2 "2014-07-01T10:07:54Z")

</div>

Hi,

yes you can check that using our Simple HTTP API. The operation that you can use for listing information about executed tasks is **executions\_history**. You can call this operation using [HTTPConnector](http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.gui.docs/docs/httpconnector.html). For more information about Simple HTTP API, please refer to our documentation: [http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.server.docs/docs/simple-http-api.html](http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.server.docs/docs/simple-http-api.html)

Apart that, you can limit number of max concurrent jobs of the same graph. In order to do this, set **_max\_running\_concurrently_** property in Config properties (see the screenshot below).

[MaxRunningConcurrently.png](https://cdn.cloverdx.com/forum/16494%5F714c417d481507d0d1d2fd02b36a09c8/MaxRunningConcurrently.png)

The list of properties is also printed in our documentation: [http://doc.cloveretl.com/documentation/ … rties.html](http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.server.docs/docs/list-of-properties.html)

Hope this helps.

- [MaxRunningConcurrently.png](https://cdn.cloverdx.com/forum/16494%5F714c417d481507d0d1d2fd02b36a09c8/MaxRunningConcurrently.png)

---

<div class="post-metadata">

**Author:** ![scl84](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@scl84](https://forum.cloverdx.com/u/scl84)\
**Post date:** [July 1, 2014, 10:35am UTC](https://forum.cloverdx.com/t/check-if-job-is-already-running/1445/3 "2014-07-01T10:35:11Z")

</div>

Thanks Jan for your quick response and valuable input.

Is there anyway to persist this information in some files for that specific job?

For example:  
the Job “ABC” in sandbox “S1” will have:  
executor.max\_running\_concurrently = 1

The job “CDE” in sandbox “S2” will have:  
executor.max\_running\_concurrently = 0

I went through this link, but it was providing only solution at runtime from eclipse:  
[http://doc.cloveretl.com/documentation/ … tings.html](http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.gui.docs/docs/cloveretl-default-settings.html)

And this post was about generic settings:  
[viewtopic.php?f=7&t=3676](http://forum.cloveretl.com/viewtopic.php?f=7&t=3676)

Could you please guide me on how to set this configuration specific to the job and the sandbox?

Thanks and regards,  
Scl

---

<div class="post-metadata">

**Author:** ![slechtaj](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@slechtaj](https://forum.cloverdx.com/u/slechtaj)\
**Post date:** [July 1, 2014, 2:56pm UTC](https://forum.cloverdx.com/t/check-if-job-is-already-running/1445/4 "2014-07-01T14:56:09Z")

</div>

Hi Scl,

unfortunately the _max\_running\_concurrently_ property can only be set in the Server GUI.

---

<div class="post-metadata">

**Author:** ![scl84](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@scl84](https://forum.cloverdx.com/u/scl84)\
**Post date:** [July 2, 2014, 9:07am UTC](https://forum.cloverdx.com/t/check-if-job-is-already-running/1445/5 "2014-07-02T09:07:00Z")

</div>

Thanks for your support Jan.

Regards,  
Scl
