#!/usr/bin/bash
set -e

# wait for auxiliary services
poetry run python manage.py await_services

# run beat
poetry run celery -A evibes beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler
