Hi
There are several possibilities. Here are my suggestions:
1. The jobs are started using the same JOBS/JOBP object with different values: Use "max. parallel executions" with "wait" in the JOBS/JOBP Object
2. The jobs are using different JOBS/JOBP- objects: Use a dedicated QUEUE with 3 slots.
Hope that helps you out.
Kind regards
Peter Gross
________________________
Peter Gross
Senior System Engineer
D +41 71 424 1660
peter.gross@raiffeisen.ch<mailto:
peter.gross@raiffeisen.ch>
[cid:
image001.png@01DA8BE3.5AF4A330]
Raiffeisen Schweiz Genossenschaft
Raiffeisenplatz 4, 9001 St. Gallen
T 071 225 88 88
raiffeisen.ch<https:
www.raiffeisen.ch/="">[cid:
image002.png@01DA8BE3.5AF4A330]<https: twitter.com/raiffeisen_ch=""> [cid:
image003.png@01DA8BE3.5AF4A330] <https:
www.linkedin.com/company/raiffeisen-switzerland/mycompany/=""> [cid:
image004.png@01DA8BE3.5AF4A330] <https:
www.facebook.com/raiffeisenmemberplus.schweiz/=""> [cid:
image005.png@01DA8BE3.5AF4A330] <https:
www.instagram.com/raiffeisen_ch=""> [cid:
image006.png@01DA8BE3.5AF4A330] <https:
www.youtube.com/user/raiffeisenschweiz="">[cid:
image007.png@01DA8BE3.5AF4A330]
*****************************************************
This e-mail may contain confidential material. It is intended only for the person or entity which it is addressed to. In case you should not be supposed to get this e-mail we ask you to delete it without taking notice of its content. Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of The Swiss Raiffeisen Group. Therefore this e-mail does not represent a binding agreement nor an offer to deal. E-Mail transmission can be insecure and can contain errors. Information could be intercepted, corrupted, lost, destroyed, incomplete or may contain viruses. Neither The Swiss Raiffeisen Group nor the sender can accept any liability for any kind of damage as the result of viruses or transmission errors.
*****************************************************
Original Message:
Sent: 4/10/2024 12:30:00 PM
From: Arun Verma
Subject: RE: running a bunch of JOBS in parallel but only 3 at a time
Hi Alex,
I'm not sure about your specific use case or whether there are dependencies between your jobs, However, I believe utilizing a SYNC object could be beneficial. This will ensure that only three jobs are active at any given time. Configure the SYNC object to allow a maximum of 3 executions and add your jobs in parallel or maybe use JOBG. As one job finishes, the next one will start automatically.
For more details, refer to the SYNC object documentation here: SYNC Object Documentation
Hope this helps!
Best regards,
------------------------------
Regards,
Arun Verma
------------------------------
Original Message:
Sent: Apr 10, 2024 11:17 AM
From: Alex Hauthaler
Subject: running a bunch of JOBS in parallel but only 3 at a time
Hi guys, i hope you can help me.
Lets say I have 20 jobs objects.
I want to run them all, 3 in paralell, as fast as possible.
i have put them in 3 "lines", running them in sequence, but that is not very fast. whenever one is taking longer it is blocking the subsequent ones.
whenever one finishes the next should start.
how would i create a Workflow for that.
Thx Alex
</https:></https:></https:></https:></https:></https:></mailto:peter.gross@raiffeisen.ch>