contentdb/utils/worker_clear.sh
2024-03-03 01:14:33 +00:00

9 lines
181 B
Bash
Executable File

#!/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"