You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by snowc <ch...@gmail.com> on 2009/09/14 11:41:02 UTC

prevent multiple instances of same job

I have a service that will run every hour.  I need to ensure that if the job
is still running from the last invocation, that another instance will not be
started.  Is this possible?

Many thanks in advance, 

Chris
-- 
View this message in context: http://www.nabble.com/prevent-multiple-instances-of-same-job-tp25432952p25432952.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: prevent multiple instances of same job

Posted by Scott Gray <sc...@hotwaxmedia.com>.
http://docs.ofbiz.org/display/OFBTECH/Service+Engine+Guide
Look for semaphore in the service definition table.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 14/09/2009, at 9:41 PM, snowc wrote:

>
> I have a service that will run every hour.  I need to ensure that if  
> the job
> is still running from the last invocation, that another instance  
> will not be
> started.  Is this possible?
>
> Many thanks in advance,
>
> Chris
> -- 
> View this message in context: http://www.nabble.com/prevent-multiple-instances-of-same-job-tp25432952p25432952.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>