Quellcode durchsuchen

Cleaned up FAQ entry

Ask Solem vor 16 Jahren
Ursprung
Commit
27fcdd3eb6
1 geänderte Dateien mit 9 neuen und 3 gelöschten Zeilen
  1. 9 3
      docs/faq.rst

+ 9 - 3
docs/faq.rst

@@ -33,14 +33,15 @@ I'm having ``IntegrityError: Duplicate Key`` errors. Why?
 **Answer:** See `MySQL is throwing deadlock errors, what can I do?`_.
 **Answer:** See `MySQL is throwing deadlock errors, what can I do?`_.
 Thanks to howsthedotcom.
 Thanks to howsthedotcom.
 
 
-My Periodic Tasks won't run
-----------------------------
+Why won't my Task run?
+----------------------
 
 
 **Answer:** Did you register the task in the applications ``tasks.py`` module?
 **Answer:** Did you register the task in the applications ``tasks.py`` module?
 (or in some other module Django loads by default, like ``models.py``?).
 (or in some other module Django loads by default, like ``models.py``?).
+Also there might be syntax errors preventing the tasks module being imported.
 
 
 You can find out if the celery daemon is able to run the task by executing the
 You can find out if the celery daemon is able to run the task by executing the
-periodic task manually:
+task manually:
 
 
     >>> from myapp.tasks import MyPeriodicTask
     >>> from myapp.tasks import MyPeriodicTask
     >>> MyPeriodicTask.delay()
     >>> MyPeriodicTask.delay()
@@ -48,6 +49,11 @@ periodic task manually:
 Watch celery daemons logfile (or output if not running as a daemon), to see
 Watch celery daemons logfile (or output if not running as a daemon), to see
 if it's able to find the task, or if some other error is happening.
 if it's able to find the task, or if some other error is happening.
 
 
+Why won't my Periodic Task run?
+-------------------------------
+
+See `Why won't my Task run?`_.
+
 Can I send some tasks to only some servers?
 Can I send some tasks to only some servers?
 --------------------------------------------
 --------------------------------------------