#!/bin/sh LOGFILE=/var/log/externalisation.log DIR_SCRIPTS="/root/scripts-admin" ADRESSES_MAIL="supervision-externalisation@example.net" $DIR_SCRIPTS/script_synchro-externalisation-from-serveur-sauvegarde.sh >$LOGFILE 2>&1 # Vérification de l'état de sortie case "$?" in 0) ( cat - </dev/null