Bonjour Michelle, script.sh : #!/bin/bash -x up="alive" #export DISPLAY=:0 for hote in $(cat meshotes) do x=$(fping $hote | grep $up) if [ -n "$x" ]; then echo "$hote is up" export DISPLAY=:0 /usr/bin/Xdialog --wrap --title "Information" \ --msgbox "La machine $hote est active" 0 0 fi done # end script fichier 'meshotes': hostA hostB etc... crontab -e: */2 * * * * /home/moi/bin/script.sh what's up doc? merci ps : mail ne marche (encore) pas sur localhost!