agronholm / agronholm/apscheduler

Wake up the scheduler on resume events or system clock changes

未关闭
#794 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
7.6k
派生
783
平均合并
4 天 8 小时
30 天内合并 PR
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 摘要。