3 ms·
Looks interesting; my klunky script for doing something similar has been something along the lines of printf 'started: %s\n' "$(utcdate)" ( tr
by Joker_vD 1y ago
Looks interesting; my klunky script for doing something similar has been something along the lines of
printf 'started: %s\n' "$(utcdate)"
(
trap 'kill 0' SIGINT
for REMOTE in "${REMOTES[@]}"
do
ssh -- "$REMOTE" "$COMMAND" "$@" &
done
wait
)
printf 'ended: %s\n' "$(utcdate)"
but twiddling with it has been quite annoying, so I'll look into this tool.