From a302e9fa7b3a94b0797b674ec336c28ffef2bdc7 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 27 Nov 2020 18:51:08 -0500 Subject: Add debugging timestamps --- sendmail | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sendmail') diff --git a/sendmail b/sendmail index 26a174c..473231c 100755 --- a/sendmail +++ b/sendmail @@ -7,5 +7,8 @@ # and forget. next time we get online, msmtpq will send all the messages in the # queue. +d=$(date) +echo $d >> ~/tmp/msmtp.log +echo $d >> ~/tmp/msmtp.err msmtpq "$@" >> ~/tmp/msmtp.log 2> ~/tmp/msmtp.err exit 0 -- cgit v1.2.3