# Batch Process Client Questions

**URL:** <https://forum.servoy.com/t/batch-process-client-questions/6441>\
**Category:** Classic Servoy\
**Created:** [September 13, 2006, 1:09pm UTC](https://forum.servoy.com/t/batch-process-client-questions/6441 "2006-09-13T13:09:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbutler](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/sbutler/32/4393_2.png) [@sbutler](https://forum.servoy.com/u/sbutler)\
**Post date:** [September 13, 2006, 1:09pm UTC](https://forum.servoy.com/t/batch-process-client-questions/6441/1 "2006-09-13T13:09:49Z")

</div>

I read the servoy documentation about being able to use the batch process client with the scheduler plugin…but it doesn’t go into much detail. So, how would I get a Batch Process Client run a servoy method every 15 minutes. Also, what happens if the servoy method takes more than 15 minutes to run?

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [September 13, 2006, 1:31pm UTC](https://forum.servoy.com/t/batch-process-client-questions/6441/2 "2006-09-13T13:31:41Z")

</div>

The scheduler plugin is based on the Java scheduling system Quartz. You can find documentation here:

> **[Open Source Job Schedulers in Java - Quartz](https://java-source.net/open-source/job-schedulers/quartz)**

You can pull samples from the plugin.

From what I know about implementing Quartz I would say that the task is triggered, also/even when the previous task is still running…

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [September 13, 2006, 1:32pm UTC](https://forum.servoy.com/t/batch-process-client-questions/6441/3 "2006-09-13T13:32:41Z")

</div>

As for the question: what is the process runs for more than 15 minutes: schedule the next run at the end of the previous run.

As far as how batchprocessors work (to my knowledge, allthough I never used them yet): Create a solution, in the onSolutionStart initiate your processes and in the Admin pages mark the solution as a btach processor.

Paul

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [September 13, 2006, 1:35pm UTC](https://forum.servoy.com/t/batch-process-client-questions/6441/4 "2006-09-13T13:35:32Z")

</div>

> pbakker:  
> schedule the next run at the end of the previous run.

Possible but make sure to schedule the task only once otherwise you will have a cascading number of events!!!
