agronholm / agronholm/apscheduler

can we shutdown a scheduler with a wait time?

Ouverte
#157 11 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
enhancement scheduler
Langage dominant
Python
Étoiles
7.6k
Forks
783
Merge moyen
4 j 8 h
PR mergées (30 j)
5

Description

I hope we can call the shutdown method like this:

```
# wait 3s to shutdown the job. Replace wait=False with wait=3s.
scheduler.shutdown(wait=3)
```

Because sometime the jobs can hanged because of bad networking.
I wan't to wait the jobs done, but sometime it can be hanging for a day.

Is there any way to do it? If not, how about add the feature in the next version?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.