| 1 |
:mod:`apscheduler.schedulers.background` |
| 2 |
======================================== |
| 3 |
|
| 4 |
.. automodule:: apscheduler.schedulers.background |
| 5 |
|
| 6 |
API |
| 7 |
--- |
| 8 |
|
| 9 |
.. autoclass:: BackgroundScheduler |
| 10 |
:show-inheritance: |
| 11 |
|
| 12 |
|
| 13 |
Introduction |
| 14 |
------------ |
| 15 |
|
| 16 |
BackgroundScheduler runs in a thread **inside** your existing application. Calling |
| 17 |
:meth:`~apscheduler.schedulers.blocking.BackgroundScheduler.start` will start the scheduler and it will continue running |
| 18 |
after the call returns. |
| 19 |
|
| 20 |
.. list-table:: |
| 21 |
:widths: 1 4 |
| 22 |
|
| 23 |
* - Default executor |
| 24 |
- :class:`~apscheduler.executors.pool.PoolExecutor` |
| 25 |
* - External dependencies |
| 26 |
- none |
| 27 |
* - Example |
| 28 |
- ``examples/schedulers/background.py`` |
| 29 |
(`view online <https://github.com/agronholm/apscheduler/tree/3.x/examples/schedulers/background.py>`_). |