apscheduler.schedulers.background¶
API¶
-
class
apscheduler.schedulers.background.BackgroundScheduler(gconfig={}, **options)¶ Bases:
apscheduler.schedulers.blocking.BlockingSchedulerA scheduler that runs in the background using a separate thread (
start()will return immediately).Extra options:
daemonSet the
daemonoption 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 |
|