feat(spam-learn): add duration to email

MR !1
This commit is contained in:
2022-02-14 11:35:26 +09:30
parent 1fe3598a54
commit 3a3f2098c7

View File

@ -2,6 +2,8 @@
set -e
start=$(date '+%s')
POSTMASTER="${1}"
# for testing script
@ -33,6 +35,8 @@ Subject: Spam Learning Report $(date +%Y-%m-%d-%H:%M-%Z)
Command: /bin/spam-learn.sh
Scan duration: $((`date '+%s'` - $start))
****************** Ham Scan ******************
$HAM_REPORT