Skip to content

Commit

Permalink
Documentation updates related to task names
Browse files Browse the repository at this point in the history
  • Loading branch information
keith-gray-powereng authored and auvipy committed Jan 13, 2022
1 parent bc13e2f commit 9387c52
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/userguide/periodic-tasks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ Available Fields

The name of the task to execute.

Task names are described in the :ref:`task-names` section of the User Guide.
Note that this is not the import path of the task, even though the default
naming pattern is built like it is.

* `schedule`

The frequency of execution.
Expand Down
6 changes: 6 additions & 0 deletions docs/userguide/tasks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,12 @@ named :file:`tasks.py`:
>>> add.name
'tasks.add'
.. note::

You can use the `inspect` command in a worker to view the names of
all registered tasks. See the `inspect registered` command in the
:ref:`monitoring-control` section of the User Guide.

.. _task-name-generator-info:

Changing the automatic naming behavior
Expand Down

0 comments on commit 9387c52

Please sign in to comment.