ansible/roles/distgit/files/retired-packages.cron
Kevin Fenzi 9fecd9fd7c 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>
2024-05-06 09:12:10 -07:00

2 lines
273 B
Text

MAILTO=releng-cron@lists.fedoraproject.org
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