Batch process are paused or idle during the day

The forum to discuss the Headless version of Servoy. Web, Java and Servlet development questions can all be posted here.

Batch process are paused or idle during the day

Postby chaitanyas » Mon Jul 20, 2020 3:06 am

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
chaitanyas
 
Posts: 101
Joined: Tue Jul 26, 2011 8:28 am

Re: Batch process are paused or idle during the day

Postby chaitanyas » Tue Jul 21, 2020 2:42 am

Hi All,


Anyone can share the possible causes of this issue, please.
chaitanyas
 
Posts: 101
Joined: Tue Jul 26, 2011 8:28 am

Re: Batch process are paused or idle during the day

Postby sean » Tue Jul 21, 2020 3:08 am

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 ?
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: Batch process are paused or idle during the day

Postby chaitanyas » Tue Jul 21, 2020 9:35 am

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 ?
chaitanyas
 
Posts: 101
Joined: Tue Jul 26, 2011 8:28 am


Return to Servoy Headless Client

Who is online

Users browsing this forum: No registered users and 2 guests