apscheduler.schedulers.blocking
¶
API¶
-
class
apscheduler.schedulers.blocking.
BlockingScheduler
(gconfig={}, **options)¶ Bases:
apscheduler.schedulers.base.BaseScheduler
A scheduler that runs in the foreground (
start()
will block).
Introduction¶
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). |