Ajout envoi de mail

Envoi du resultat des selftest à $USER@localhost
This commit is contained in:
John Doe 2020-12-14 12:10:21 +01:00
parent 05ddf6fff8
commit 135e9f1959
1 changed files with 3 additions and 0 deletions

View File

@ -39,4 +39,7 @@ echo "**************************************************
***** TESTS TERMINES ET LOG DISPONIBLE SOUS *****
************* home/$USER/SANTE_DISK **************
**************************************************"
cat /home/SANTE_DISK | /usr/bin/mailx -s "Objet du mail" $USER@localhost #envoi de mail
read'