Page 1 of 1

Batch process are paused or idle during the day

PostPosted: Mon Jul 20, 2020 3:06 am
by chaitanyas
Hi Team,


We are running a couple of batch processors to handle different tasks and during the day, we observed that the batch processors are hanged or idle and not running when next cycle of execution reached.

The batch processors are mainly using, addJob and few are using corn job.

Can you please share the possible reasons for this behaviour.

Servoy Version : 7.4.x

Java : Java 8

Re: Batch process are paused or idle during the day

PostPosted: Tue Jul 21, 2020 2:42 am
by chaitanyas
Hi All,


Anyone can share the possible causes of this issue, please.

Re: Batch process are paused or idle during the day

PostPosted: Tue Jul 21, 2020 3:08 am
by sean
Hi Chaitanya,

We really need some more info.

Can you describe what you mean by hanged or idle? DO you mean it is not executing the scheduled job ? Or it is stuck in a loop? etc. Is there any error in the log?

Also in what way do you run the job? Is there a repeat interval, or is it one-time ?

Re: Batch process are paused or idle during the day

PostPosted: Tue Jul 21, 2020 9:35 am
by chaitanyas
Hi Sean,


Thanks for the reply. Yes, we are running batch process in regular interval. We observed that the batch process - headless client is showing at Servoy admin page but it's sitting idle, means, it's not executing when the next interval occur.

We are making sure that at a time, the headless client handles one job only. We are running two jobs, Job 1 is a corn job, which will execute daily and Job 2 (scheduler job) runs every one hour interval and we are removing the job 2 (scheduler job) and re add once Job 1 (corn job) finished, though, we observed Job 2 (scheduler job) not running after job 1 (corn job) completed.

Do we need to separate two jobs into two different batch processes ?