You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I remove a job that is currently running, the job is just removed from the scheduler's queue, but there appears to be no way to wait for that job to complete if it's running at the time it was removed.
I realize that I can put something into the callback for this, but that wouldn't account for the time before the callback is called and after, while the scheduler is still holding some references to it.
So, my question is whether there's a way to wait for a running job to complete via APScheduler API?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If I remove a job that is currently running, the job is just removed from the scheduler's queue, but there appears to be no way to wait for that job to complete if it's running at the time it was removed.
I realize that I can put something into the callback for this, but that wouldn't account for the time before the callback is called and after, while the scheduler is still holding some references to it.
So, my question is whether there's a way to wait for a running job to complete via APScheduler API?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions