summaryrefslogtreecommitdiff
path: root/docs/userguide.rst
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2014-06-07 14:47:52 +0300
committerAlex Grönholm <alex.gronholm@nextday.fi>2014-06-15 16:46:12 +0300
commitc5af26a552f5612c9fe20cf1ea7e9a071e1956f4 (patch)
tree93638f98bc212f82fffaaf1fa18bcc062c426971 /docs/userguide.rst
parent36999372c650a868a07fe50c7fb95f746d485a6d (diff)
downloadapscheduler-c5af26a552f5612c9fe20cf1ea7e9a071e1956f4.tar.gz
Added unit tests for the BaseScheduler class
Fixed a number of bugs in BaseScheduler Added the jobstore_alias parameter to run_job() so that the proper event can be generated Added scheduler events for adds/removals of executors Fixed the scheduler configuration to match with the documentation
Diffstat (limited to 'docs/userguide.rst')
-rw-r--r--docs/userguide.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/userguide.rst b/docs/userguide.rst
index 693ea7f..92764ce 100644
--- a/docs/userguide.rst
+++ b/docs/userguide.rst
@@ -135,11 +135,12 @@ The following three examples are completely equivalent, and will get you:
Method 1::
+ from pytz import utc
+
from apscheduler.schedulers.background import BackgroundScheduler
from apscheduler.jobstores.mongodb import MongoDBJobStore
from apscheduler.jobstores.sqlalchemy import SQLAlchemyJobStore
from apscheduler.executors.pool import PoolExecutor
- from pytz import utc
jobstores = {
@@ -187,11 +188,12 @@ Method 2::
Method 3::
+ from pytz import utc
+
from apscheduler.schedulers.background import BackgroundScheduler
from apscheduler.jobstores.mongodb import MongoDBJobStore
from apscheduler.jobstores.sqlalchemy import SQLAlchemyJobStore
from apscheduler.executors.pool import PoolExecutor
- from pytz import utc
jobstores = {