osbuildapi-update: only send errors once a day

Right now if a host errors out it can send a vast pile of these.
So, lets use nag-once to avoid floods.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2022-09-14 18:32:50 -07:00
parent c2cab48398
commit 6ce19b66af

View file

@ -1 +1 @@
* * * * * root /usr/local/bin/lock-wrapper osbuildapi "/usr/local/bin/osbuildapi-update.sh"
* * * * * root /usr/local/bin/lock-wrapper osbuildapi "/usr/local/bin/osbuildapi-update.sh" 2>&1 | /usr/local/bin/nag-once osbuildapi-update.sh 1d 2>&1