From bd60878070f0ab4d7c808c0a5b6d047beab9f287 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Sun, 2 Jan 2011 12:15:20 +0100 Subject: [PATCH] append cron.daily's output to dinstall's logfile (instead of sending spam) Signed-off-by: Torsten Werner --- config/debian/cron.daily | 5 +++++ 1 file changed, 5 insertions(+) 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} -- 2.39.5