apscheduler.schedulers.background
¶
API¶
-
class
apscheduler.schedulers.background.
BackgroundScheduler
(gconfig={}, **options)¶ Bases:
apscheduler.schedulers.blocking.BlockingScheduler
A scheduler that runs in the background using a separate thread (
start()
will return immediately).Extra options:
daemon
Set the
daemon
option in the background thread (defaults toTrue
, see the documentation for further details)
Introduction¶
BackgroundScheduler runs in a thread inside your existing application. Calling
start()
will start the scheduler and it will continue running
after the call returns.
Default executor |
|
External dependencies |
none |
Example |
|