X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=modules%2Fprivate%2Fmonitoring%2Fsend_mails;fp=modules%2Fprivate%2Fmonitoring%2Fsend_mails;h=0000000000000000000000000000000000000000;hp=105c505f78f700db1b435957570f319e3c460523;hb=1a64deeb894dc95e2645a75771732c6cc53a79ad;hpb=fa25ffd4583cc362075cd5e1b4130f33306103f0 diff --git a/modules/private/monitoring/send_mails b/modules/private/monitoring/send_mails deleted file mode 100755 index 105c505..0000000 --- a/modules/private/monitoring/send_mails +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -CHECK_DIR=$1 -shift -RETURN_PATH=$1 -shift - -for mail in "$@"; do - echo "Test Mail" | MAILRC=/dev/null mail -n -r "$RETURN_PATH" -s "TestMailImmae " "$mail" -done - -if [ -d "$CHECK_DIR" ]; then - cd $CHECK_DIR - stat -c '%n;%y' * -fi