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

9 lines
135 B
Plaintext
Raw Normal View History

2022-11-23 11:41:43 +03:00
#!/bin/bash
set -o errexit
set -o nounset
2022-12-21 00:50:36 +03:00
python manage.py migrate
2022-11-23 11:41:43 +03:00
rm -f './celerybeat.pid'
celery -A config.celery_app beat -l INFO