can we shutdown a scheduler with a wait time?
See original GitHub issueI 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?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:11 (6 by maintainers)
Top Results From Across the Web
3 Minute delay in schedule shutdown - Microsoft Q&A
Hi,. When scheduling a shutdown you can use the shutdown command, so to schedule a 3 minute delay shutdown would be: shutdown -s...
Read more >How to schedule a Windows 10 shutdown for a specific date ...
There are several choices shown. You could run this shutdown process every day, once a week or perhaps once a month. You can...
Read more >How to schedule a shutdown in Windows 10 - OnMSFT.com
When you want to schedule a shutdown on Windows 10, you can shutdown on a timer lets you step away from your device...
Read more >Proper shutdown of a ScheduledExecutorService
ScheduledExecutorService is a Java interface that implements ExecutorService and allows for scheduling of periodic jobs by providing two ...
Read more >4 Ways to Automatically Shut Down Your Computer ... - wikiHow
1. Open the Task Scheduler app. If you want your scheduled shutdown to occur more than once, you'll want to use Task Scheduler....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@agronholm Could you help to answer this question.
I have things to do right now but I will get back to this.