I have an text file that holds a list of jobs to process. It could process them all at once, but it overloads computer resources and some jobs fail. It could also process one line at a time, but the overall processing time is too long.
My customer is asking us to process 5 at a time to see if we can speed up processing time without missing jobs along the way. I feel like this is possible and likely pretty easy, but my brain is stuck on it and I can't figure it out.
Each job is on one row of the text file. Is there a way to load a list of jobs to run, but limit it to running 5 at a time?