etc-git: Cron use etc-git-status.sh script

This commit is contained in:
Benoît S. 2019-08-14 09:33:44 +02:00 committed by Benoît S
parent ffe420b0e4
commit 9a18ca9c13

View file

@ -1,4 +1,4 @@
# {{ ansible_managed }}
@hourly root who > /dev/null || git --git-dir=/etc/.git --work-tree=/etc status --short
21 21 * * * root git --git-dir=/etc/.git --work-tree=/etc status --short
@hourly root who > /dev/null || /usr/share/scripts/etc-git-status.sh
21 21 * * * root /usr/share/scripts/etc-git-status.sh