From: Joerg Jaspert Date: Sat, 3 May 2008 11:44:27 +0000 (+0200) Subject: Seems more correct to use the start time we saved in for the cron mail X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=753e9fe8640a99c8cdcd78bc4d4a6f430c88c702;p=dak.git Seems more correct to use the start time we saved in for the cron mail --- diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 4e3befb7..cd22bd25 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -258,7 +258,7 @@ TS=$(($TS+1)); echo Archive maintenance timestamp $TS: $(date +%X) echo "Finally, all is done, sending mail and compressing logfile" exec > /dev/null 2>&1 -cat "$LOGFILE" | mail -s "Log for dinstall run of $(date +%Y.%m.%d' at '%H:%M)" cron@ftp-master.debian.org +cat "$LOGFILE" | mail -s "Log for dinstall run of ${NOW}" cron@ftp-master.debian.org bzip2 -9 "$LOGFILE" ################################################################################