parent
16608ac882
commit
78e522b1fa
5 changed files with 13 additions and 5 deletions
@ -0,0 +1,7 @@ |
|||||||
|
from __future__ import absolute_import, unicode_literals |
||||||
|
|
||||||
|
# This will make sure the app is always imported when |
||||||
|
# Django starts so that shared_task will use this app. |
||||||
|
from .celery import app as celery_app |
||||||
|
|
||||||
|
__all__ = ['celery_app'] |
||||||
@ -1,3 +1,3 @@ |
|||||||
#!/bin/bash |
#!/bin/bash |
||||||
|
|
||||||
celery -A dtys.tasks worker --loglevel=info >> celery.log & |
celery -A batiskaf worker --loglevel=info >> celery.log & |
||||||
|
|||||||
Loading…
Reference in new issue