prevent multiple instances of same job

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

prevent multiple instances of same job

chris snow
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
Reply | Threaded
Open this post in threaded view
|

Re: prevent multiple instances of same job

Scott Gray-2
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.
>


smime.p7s (3K) Download Attachment