mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-03 17:18:12 +08:00
Fixing some doc errors
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ Uses the :class:`Success` proxy model.
|
|||||||
|
|
||||||
.. tip::
|
.. tip::
|
||||||
|
|
||||||
The maximum number of succesful tasks can be set using the `save_limit` :ref:`configuration` option.
|
The maximum number of successful tasks can be set using the `save_limit` :ref:`configuration` option.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -31,7 +31,7 @@ Schedules are regular Django models. You can manage them through the :ref:`admin
|
|||||||
:param args: arguments for the scheduled function.
|
:param args: arguments for the scheduled function.
|
||||||
:param str hook: optional result hook function. Dotted strings only.
|
:param str hook: optional result hook function. Dotted strings only.
|
||||||
:param str schedule_type: (O)nce, (H)ourly, (D)aily, (W)eekly, (M)onthly, (Q)uarterly, (Y)early or :attr:`Schedule.TYPE`
|
:param str schedule_type: (O)nce, (H)ourly, (D)aily, (W)eekly, (M)onthly, (Q)uarterly, (Y)early or :attr:`Schedule.TYPE`
|
||||||
:param int repeats: Number of times to repeat schedule. `-1`=Always, `0`=Never, `n` =n.
|
:param int repeats: Number of times to repeat schedule. -1=Always, 0=Never, n =n.
|
||||||
:param datetime next_run: Next or first scheduled execution datetime.
|
:param datetime next_run: Next or first scheduled execution datetime.
|
||||||
:param kwargs: optional keyword arguments for the scheduled function.
|
:param kwargs: optional keyword arguments for the scheduled function.
|
||||||
|
|
||||||
@@ -65,8 +65,8 @@ Schedules are regular Django models. You can manage them through the :ref:`admin
|
|||||||
|
|
||||||
.. py:attribute:: repeats
|
.. py:attribute:: repeats
|
||||||
|
|
||||||
Number of times to repeat schedule. `-1`=Always, `0`=Never, `n` =n.
|
Number of times to repeat the schedule. -1=Always, 0=Never, n =n.
|
||||||
|
When set to -1, this will keep counting down.
|
||||||
|
|
||||||
.. py:attribute:: next_run
|
.. py:attribute:: next_run
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user