From: Torsten Werner Date: Sun, 2 Jan 2011 11:15:20 +0000 (+0100) Subject: append cron.daily's output to dinstall's logfile X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd60878070f0ab4d7c808c0a5b6d047beab9f287;p=dak append cron.daily's output to dinstall's logfile (instead of sending spam) Signed-off-by: Torsten Werner --- diff --git a/config/debian/cron.daily b/config/debian/cron.daily index 1ededd03..5b433568 100755 --- a/config/debian/cron.daily +++ b/config/debian/cron.daily @@ -21,6 +21,11 @@ function cleanup { } trap cleanup SIGHUP SIGINT SIGPIPE SIGTERM EXIT ERR +# log to dinstall's logfile instead of sending email +PROGRAM="cron.daily" +LOGFILE="$logdir/dinstall.log" +exec >> "$LOGFILE" 2>&1 + # get the latest list of wnpp bugs and their source packages wget -q -O${TMPFILE} http://qa.debian.org/data/bts/wnpp_rm chmod go+r ${TMPFILE}