summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2015-04-07 21:45:56 +0300
committerAlex Grönholm <alex.gronholm@nextday.fi>2015-04-07 21:45:56 +0300
commit6af6ea9ee8216a7d1dcafd7c3b5c837c163e6d64 (patch)
tree0297b4fdeee8856bb2bfd6343bbce750c27af558
parenta34075b0037dba46735bae67f598ec6133003ef1 (diff)
downloadapscheduler-6af6ea9ee8216a7d1dcafd7c3b5c837c163e6d64.tar.gz
Corrected date strings in the interval example
-rw-r--r--docs/modules/triggers/interval.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/modules/triggers/interval.rst b/docs/modules/triggers/interval.rst
index bc4e314..1f74c3a 100644
--- a/docs/modules/triggers/interval.rst
+++ b/docs/modules/triggers/interval.rst
@@ -49,7 +49,7 @@ Examples
You can use ``start_date`` and ``end_date`` to limit the total time in which the schedule runs::
# The same as before, but starts on 2010-10-10 at 9:30 and stops on 2014-06-15 at 11:00
- sched.add_job(job_function, 'interval', hours=2, start_date='2010-10-10 09:30', end_date='2014-06-15 11:00)
+ sched.add_job(job_function, 'interval', hours=2, start_date='2010-10-10 09:30:00', end_date='2014-06-15 11:00:00)
The :meth:`~apscheduler.schedulers.base.BaseScheduler.scheduled_job` decorator works nicely too::