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?