Files
Docker-Chevereto/scripts/system/cron--run.sh
Rodolfo Berrios fe845f91c8 ignore error
2023-01-07 14:00:15 -03:00

7 lines
204 B
Bash
Executable File

#!/usr/bin/env bash
set -e
while IFS= read -r ID; do
echo "🆔 $ID"
docker exec --user www-data $ID app/bin/legacy -C cron || true
done <<<"$(docker ps | grep "chevereto:" | awk '{ print $1 }')"