Skip to Content
1
Former Member
Oct 02, 2014 at 09:20 AM

Limit number of running jobs

511 Views

Hi there,

I'm looking for some time on the wiki/experts about a way to limit the number of concurrent running cron jobs in hybris. Reason is that at some point, there are 5 or 6 big jobs running, making the other parts of the system inaccessible. The idea would be to put all the extra jobs in FIFO queue.

I already found a Spring alternative to this with the TaskExecutor ( ThreadPoolTaskExecutor ); but I wonder if 1. Hybris integrates a factory default way ; 2. How to integrate it properly?

Does anybody have an idea about this?

Thanks!