@ -1,5 +1,6 @@
#!/bin/bash
BASEDIR=$(dirname "$0")
FILE=${1:-listes.txt}
if ! command -v parallel >/dev/null; then
@ -7,6 +8,8 @@ if ! command -v parallel >/dev/null; then
exit 1
fi
cd "$BASEDIR"
echo -n "" >.errors
parallel -a "$FILE" ./monit-sympa.sh