mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
Send "backup has been completed" mail
This commit is contained in:
parent
4adbef4517
commit
20e25b4648
1 changed files with 1 additions and 1 deletions
|
@ -811,7 +811,7 @@ sed -i "/v-backup-user $user /d" $VESTA/data/queue/backup.pipe
|
|||
if [ -e "$BACKUP/$user.log" ]; then
|
||||
subj="$user → backup has been completed"
|
||||
email=$(get_user_value '$CONTACT')
|
||||
cat $BACKUP/$user.log #|$SENDMAIL -s "$subj" $email $notify
|
||||
cat $BACKUP/$user.log |$SENDMAIL -s "$subj" $email $notify
|
||||
rm $BACKUP/$user.log
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue