使用 APScheduler 运行持久化的 Python 代理调度任务
Schedule recurring, interval, calendar, and one-off Python agent jobs with persistent job stores so background workflows survive restarts.
Prerequisites
Python, APScheduler, optional persistent data store such as PostgreSQL, MySQL, SQLite, MongoDB, Redis, MQTT, or a Python web service runtime
Installation
Requirements and caveats from upstream:
- Advanced Python Scheduler (APScheduler) is a task scheduler and task queue system for
- Python. It can be used solely as a job queuing system if you have no need for task
- node restarts.
Basic usage or getting-started notes:
- Jitter (adjustable, random delays added to the run time of each scheduled job)
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/agronholm/apscheduler/HEAD/README.rst
Documentation
- https://apscheduler.readthedocs.io/