summaryrefslogtreecommitdiff
path: root/docs/modules/schedulers/background.rst
blob: 638d8d79039d38e80ef3e3f75db1150e35cdfca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
:mod:`apscheduler.schedulers.background`
========================================

.. automodule:: apscheduler.schedulers.background

API
---

.. autoclass:: BackgroundScheduler


Introduction
------------

BackgroundScheduler runs in a thread **inside** your existing application. Calling
:meth:`~apscheduler.schedulers.blocking.BackgroundScheduler.start` will start the scheduler and it will continue running
after the call returns.

.. list-table::
   :widths: 1 4

   * - Default executor
     - :class:`~apscheduler.executors.pool.PoolExecutor`
   * - External dependencies
     - none
   * - Example
     - ``examples/schedulers/background.py``
       (`view online <https://bitbucket.org/agronholm/apscheduler/src/master/examples/schedulers/background.py>`_).