agronholm / agronholm/apscheduler

Wake up the scheduler on resume events or system clock changes

オープン
#794 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Python
スター
7.6k
フォーク
783
平均マージ
4日 8時間
マージ済み PR(30日)
5

説明

### Things to check first

- [X] I have searched the existing issues and didn't find my feature already requested there

### Feature description

If the host is suspended (by entering a sleep state) and then is resumed, the scheduler should be woken up immediately.
Likewise, the scheduler should detect system clock changes whenever possible.

ChatGPT provided some helpful answers on how to accomplish this: https://chat.openai.com/share/a9811e15-29df-462a-9134-b7b231d79133

It also seems like FreeBSD, as of the 13.2 release, also supports timerfd: https://www.freebsd.org/status/report-2023-01-2023-03/#_native_linux_timerfd

### Use case

It would be preferable not to have the scheduler overshoot the next schedule due to the host computer being suspended.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。