cookiecutter-django/{{cookiecutter.project_slug}}/compose/local/django/celery/beat/start
Bruno Alla 895298c28f Refactor Celery integration according to current best practices
- Change celery app to not be a Django app, more like a WSGI app
- Define a Celery task in the Django users app
- Write a test to execute the task
- Update scripts to use the new app to start workers
- Update documentation

Fix #865
2019-04-02 15:40:32 +01:00

9 lines
109 B
Bash

#!/bin/sh
set -o errexit
set -o nounset
rm -f './celerybeat.pid'
celery -A config.celery_app beat -l INFO