X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.daily;fp=config%2Fdebian%2Fcron.daily;h=5b4335684f6c97eaca0cd6e5a4f3b98dffec378f;hb=bd60878070f0ab4d7c808c0a5b6d047beab9f287;hp=1ededd036545b2e7b7e89bfeb2f93a677976ec06;hpb=ca488506686f5fd58cc7ce69b4f2cc97dd6c71ba;p=dak.git 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}