Bases: apscheduler.schedulers.base.BaseScheduler
A scheduler that runs in the foreground (start() will block).
BlockingScheduler is the simplest possible scheduler. It runs in the foreground, so when you call start(), the call never returns.
BlockingScheduler can be useful if you want to use APScheduler as a standalone scheduler (e.g. to build a daemon).
Default executor | PoolExecutor |
External dependencies | none |
Example | examples/schedulers/blocking.py (view online). |