Re: Scheduled job problem

2022-07-05 Thread Tomek
Unfortunelly the problem still occurs. I load the seed data (my job definition is part of seed data) every time, before I launching the Ofbiz. As far as I know, the OFBiz delete rows from the job_sandbox table sometimes. So, sometime I insert new record into job_sandbox table after the Ofbiz

Re: Scheduled job problem

2022-04-13 Thread Scott Gray
I don't think that would cause this problem, the next occurrence of a job is scheduled when the current job is queued (or started, I can't remember exactly) so generally the runTime values should be roughly 5 minutes apart regardless of how long the job takes to run. Some time is lost between

Re: Scheduled job problem

2022-04-11 Thread Tomek
Thank you for your response. I think it is possible that the service run time is longer than the 5 minutes. So, I try to use the semaphore settings. I hope that solve my problem :) Tomek On 11.04.2022 22:33, Michael Brohl wrote: Hi, is it possible that your job run time is longer than

Re: Scheduled job problem

2022-04-11 Thread Michael Brohl
Hi, is it possible that your job run time is longer than the 5 minutes scheduling interval and it is not configured against parallel execution? If yes, consider using the semaphore settings for your service (see [1]). Best regards, Michael Brohl ecomify GmbH - www.ecomify.de [1]

Scheduled job problem

2022-04-11 Thread Tomek
Hi, I have created a job: I would like to run partialUpdateOfferJob service every 5 minutes. In the beginning every thing is ok but after some time the service is running two (or even more) times at similar time. Here is a part of my data stored in job_sandbox table: job_id    job_name