Files
Docker-Chevereto/scripts/system/cron--run.sh
Rodolfo Berrios d6fd389bc9 improves scripts
2022-11-16 14:51:23 -03:00

7 lines
196 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
done <<<"$(docker ps | grep "chevereto:" | awk '{ print $1 }')"