Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/zmbkpose
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ notify_email()
session=$2;
du -h $WORKDIR/$session/* > /tmp/list-$session ;
total=$(du -h $WORKDIR/$session | awk {'print $1'});
(echo "Subject: Backup $TIPO completed on $(date)";echo "Backup $TIPO completed on $(date)";echo -e "\r\nTotal: $total ";echo "Summary of files:"; cat /tmp/list-$session) | /opt/zimbra/postfix/sbin/sendmail $EMAIL_NOTIFY
(echo "Subject: Backup $TIPO completed on $(date)";echo "Backup $TIPO completed on $(date)";echo -e "\r\nTotal: $total ";echo "Summary of files:"; cat /tmp/list-$session) | /opt/zimbra/common/sbin/sendmail $EMAIL_NOTIFY
}

#This functions realize backup of distribution list
Expand Down