maj readme et ntfy dans backup rman

maj readme et ntfy dans backup rman
This commit is contained in:
Yacine31
2023-08-08 12:30:10 +02:00
parent 40b7c9d033
commit ab21fe8bf0
2 changed files with 2 additions and 3 deletions

View File

@@ -170,8 +170,7 @@ SUBJECT="$(hostname)-${ORACLE_SID} : RMAN Backup"
if [ ${ERR_COUNT} -ne 0 ]; then
mutt -s $SUBJECT ${MAIL_RCPT} < ${BKP_LOG_FILE}
else
mutt -s $SUBJECT ${MAIL_RCPT} < ${BKP_LOG_FILE}
curl -H "t: Erreur RMAN base ${ORACLE_SID} sur le serveur $(hostname)" -d "$(cat ${BKP_LOG_FILE})" -L https://ntfy.axiome.io/backup-rman
fi
#------------------------------------------------------------------------------