distgit / retired-packages: make cron job quieter

Right now the cron job is mailing out something like:

/tmp/releng.HEQKVAc ~
Cloning into 'releng'...
~

Hopefully this will make it not send that email unless there's an error.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-05-06 09:12:10 -07:00
parent 21acd2412e
commit 9fecd9fd7c

View file

@ -1,2 +1,2 @@
MAILTO=releng-cron@lists.fedoraproject.org
30 4 * * * root TMPDIR=`mktemp -d /tmp/releng.XXXXXXX` && chmod 755 $TMPDIR && pushd $TMPDIR && git clone https://pagure.io/releng.git && cd releng/scripts && bash get_retired_packages.sh && popd && rm -fr $TMPDIR
30 4 * * * root TMPDIR=`mktemp -d /tmp/releng.XXXXXXX` && chmod 755 $TMPDIR && pushd $TMPDIR >& /dev/null && git clone -q https://pagure.io/releng.git && cd releng/scripts && bash get_retired_packages.sh && popd && rm -fr $TMPDIR