Wrap the anitya_cron job into lock-wrapper

This commit is contained in:
Pierre-Yves Chibon 2014-10-21 18:04:42 +02:00
parent 1e6db06f90
commit e3f1abadf1

View file

@ -1,3 +1,3 @@
# Checks bi-daily for new versions
#
10 */12 * * * root ANITYA_WEB_CONFIG=/etc/anitya/anitya.cfg /usr/bin/python2 /usr/share/anitya/anitya_cron.py
10 */12 * * * root ANITYA_WEB_CONFIG=/etc/anitya/anitya.cfg /usr/local/bin/lock-wrapper /usr/bin/python2 /usr/share/anitya/anitya_cron.py