Преглед изворни кода

Use -A proj to start database scheduler

Ask Solem пре 11 година
родитељ
комит
a6695f53c6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      docs/userguide/periodic-tasks.rst

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

@@ -285,7 +285,7 @@ Django database:
 
 
 .. code-block:: bash
 .. code-block:: bash
 
 
-    $ celery beat -S djcelery.schedulers.DatabaseScheduler
+    $ celery -A proj beat -S djcelery.schedulers.DatabaseScheduler
 
 
 Using `django-celery`'s scheduler you can add, modify and remove periodic
 Using `django-celery`'s scheduler you can add, modify and remove periodic
 tasks from the Django Admin.
 tasks from the Django Admin.