summaryrefslogtreecommitdiff
path: root/apscheduler
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2021-01-10 01:13:20 +0200
committerAlex Grönholm <alex.gronholm@nextday.fi>2021-01-10 01:13:20 +0200
commit85ba383f8836070a43539cfa0a6938dc0e8ec299 (patch)
tree13ee4754fc6165b0438825229b0cdf7adfd7959a /apscheduler
parentd596e310bafd42b4fd4f2c766ec785d73224abda (diff)
downloadapscheduler-85ba383f8836070a43539cfa0a6938dc0e8ec299.tar.gz
Updated triggers' API documentation for PR #416
Diffstat (limited to 'apscheduler')
-rw-r--r--apscheduler/triggers/combining.py4
-rw-r--r--apscheduler/triggers/cron/__init__.py2
-rw-r--r--apscheduler/triggers/interval.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/apscheduler/triggers/combining.py b/apscheduler/triggers/combining.py
index 64f8301..bb90006 100644
--- a/apscheduler/triggers/combining.py
+++ b/apscheduler/triggers/combining.py
@@ -45,7 +45,7 @@ class AndTrigger(BaseCombiningTrigger):
Trigger alias: ``and``
:param list triggers: triggers to combine
- :param int|None jitter: advance or delay the job execution by ``jitter`` seconds at most.
+ :param int|None jitter: delay the job execution by ``jitter`` seconds at most
"""
__slots__ = ()
@@ -73,7 +73,7 @@ class OrTrigger(BaseCombiningTrigger):
Trigger alias: ``or``
:param list triggers: triggers to combine
- :param int|None jitter: advance or delay the job execution by ``jitter`` seconds at most.
+ :param int|None jitter: delay the job execution by ``jitter`` seconds at most
.. note:: Triggers that depends on the previous fire time, such as the interval trigger, may
seem to behave strangely since they are always passed the previous fire time produced by
diff --git a/apscheduler/triggers/cron/__init__.py b/apscheduler/triggers/cron/__init__.py
index 888b1b0..fec6e3b 100644
--- a/apscheduler/triggers/cron/__init__.py
+++ b/apscheduler/triggers/cron/__init__.py
@@ -26,7 +26,7 @@ class CronTrigger(BaseTrigger):
:param datetime|str end_date: latest possible date/time to trigger on (inclusive)
:param datetime.tzinfo|str timezone: time zone to use for the date/time calculations (defaults
to scheduler timezone)
- :param int|None jitter: advance or delay the job execution by ``jitter`` seconds at most.
+ :param int|None jitter: delay the job execution by ``jitter`` seconds at most
.. note:: The first weekday is always **monday**.
"""
diff --git a/apscheduler/triggers/interval.py b/apscheduler/triggers/interval.py
index 831ba38..61094aa 100644
--- a/apscheduler/triggers/interval.py
+++ b/apscheduler/triggers/interval.py
@@ -20,7 +20,7 @@ class IntervalTrigger(BaseTrigger):
:param datetime|str start_date: starting point for the interval calculation
:param datetime|str end_date: latest possible date/time to trigger on
:param datetime.tzinfo|str timezone: time zone to use for the date/time calculations
- :param int|None jitter: advance or delay the job execution by ``jitter`` seconds at most.
+ :param int|None jitter: delay the job execution by ``jitter`` seconds at most
"""
__slots__ = 'timezone', 'start_date', 'end_date', 'interval', 'interval_length', 'jitter'