|
@@ -33,6 +33,21 @@ I'm having ``IntegrityError: Duplicate Key`` errors. Why?
|
|
|
**Answer:** See `MySQL is throwing deadlock errors, what can I do?`_.
|
|
|
Thanks to howsthedotcom.
|
|
|
|
|
|
+My Periodic Tasks won't run
|
|
|
+----------------------------
|
|
|
+
|
|
|
+**Answer:** Did you register the task in the applications ``tasks.py`` module?
|
|
|
+(or in some other module Django loads by default, like ``models.py``?).
|
|
|
+
|
|
|
+You can find out if the celery daemon is able to run the task by executing the
|
|
|
+periodic task manually, by doing the following:
|
|
|
+
|
|
|
+ >>> from myapp.tasks import MyPeriodicTask
|
|
|
+ >>> MyPeriodicTask.delay()
|
|
|
+
|
|
|
+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.
|
|
|
+
|
|
|
Can I send some tasks to only some servers?
|
|
|
--------------------------------------------
|
|
|
|