Files
Docker-Chevereto/scripts/system/cron--run.sh

7 lines
196 B
Bash
Raw Normal View History

2022-11-07 14:06:24 -03:00
#!/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 }')"