Browse Source

Fix doc for relative flag of periodic task (#3432) (#3432)

Pierre Fersing 8 years ago
parent
commit
7530b03e56
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/userguide/periodic-tasks.rst

+ 2 - 2
docs/userguide/periodic-tasks.rst

@@ -179,12 +179,12 @@ Available Fields
 
 
 * `relative`
 * `relative`
 
 
-    By default :class:`~datetime.timedelta` schedules are scheduled
+    If `relative` is true :class:`~datetime.timedelta` schedules are scheduled
     "by the clock." This means the frequency is rounded to the nearest
     "by the clock." This means the frequency is rounded to the nearest
     second, minute, hour or day depending on the period of the
     second, minute, hour or day depending on the period of the
     :class:`~datetime.timedelta`.
     :class:`~datetime.timedelta`.
 
 
-    If `relative` is true the frequency isn't rounded and will be
+    By default `relative` is false, the frequency isn't rounded and will be
     relative to the time when :program:`celery beat` was started.
     relative to the time when :program:`celery beat` was started.
 
 
 .. _beat-crontab:
 .. _beat-crontab: