akarpov/compose/local/django/celery/beat/start

9 lines
135 B
Bash

#!/bin/bash
set -o errexit
set -o nounset
python manage.py migrate
rm -f './celerybeat.pid'
celery -A config.celery_app beat -l INFO