akarpov/compose/local/django/celery/beat/start
2023-01-03 01:31:02 +03:00

10 lines
167 B
Bash

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