contentdb/utils/worker_clear.sh

9 lines
181 B
Bash
Raw Normal View History

2024-03-03 02:00:51 +01:00
#!/bin/bash
# Clear worker queue
set -e
. "${BASH_SOURCE%/*}/common.sh"
docker exec -it "$(container app)" sh -c "FLASK_CONFIG=../config.cfg celery -A app.tasks.celery purge -f"