diff --git a/docs/cluster.rst b/docs/cluster.rst index 8e1c43f..7d99db3 100644 --- a/docs/cluster.rst +++ b/docs/cluster.rst @@ -136,7 +136,7 @@ Meanwhile the the sentinel checks if the timers don't exceed the timeout amount, Scheduler """"""""" -Once a minute the scheduler checks for any scheduled task that should be starting. +Once a minute the scheduler checks for any scheduled tasks that should be starting. - Creates a task from the schedule - Subtracts 1 from :attr:`django_q.Schedule.repeats` diff --git a/docs/schedules.rst b/docs/schedules.rst index e5d36e6..30f6706 100644 --- a/docs/schedules.rst +++ b/docs/schedules.rst @@ -55,7 +55,7 @@ If you want to schedule regular Django management commands, you can use the :mod Reference --------- -.. py:function:: schedule(func, *args, name=None, hook=None, schedule_type='O', repeats=-1, next_run=now() , **kwargs) +.. py:function:: schedule(func, *args, name=None, hook=None, schedule_type='O', repeats=-1, next_run=now() , q_options=None, **kwargs) Creates a schedule diff --git a/docs/tasks.rst b/docs/tasks.rst index c18a4aa..1125e95 100644 --- a/docs/tasks.rst +++ b/docs/tasks.rst @@ -177,7 +177,7 @@ Reference --------- .. py:function:: async(func, *args, hook=None, group=None, timeout=None,\ - sync=False, redis=None, q_options=None, **kwargs) + save=None, sync=False, redis=None, q_options=None, **kwargs) Puts a task in the cluster queue @@ -186,6 +186,7 @@ Reference :param object hook: Optional function to call after execution :param str group: An optional group identifier :param int timeout: Overrides global cluster :ref:`timeout`. + :param bool save: Overrides global save setting for this task. :param bool sync: If set to True, async will simulate a task execution :param redis: Optional redis connection :param dict q_options: Options dict, overrides option keywords