APScheduler scheduler.shutdown(wait=True) not waiting for background tasks to complete
I am creating 2 background schedulers, after the tasks on both the schedulers are started, I am calling scheduler.shutdown(wait=True) but it is not waiting for the tasks to complete, I got around this by having a while loop which check pending jobs using scheduler.get_jobs(), but reading the documentation it should not be required because shutdown(wait=True) is for this purpose, or did I read it wrong.
How to send args **kwargs to func in aspscheludler
I try set args to function in apscheduler and got error