I am looking for a scheduler in python that will start a series of threads at the same time(exactly 8 of them), and when one of them completes it will add a new one to the job pool, and start it. This process will continue till all the threads (~100) are completed.
I have looked at the APScheduler package. Maybe by using add_job, I might be able to do it, though it is not clear since I could not find any example.
add_job(trigger, func, args, kwargs, jobstore='default', **options)
Does anyone know how to set a trigger in this function