rear/rear.cron
Pavel Cahyna 036a47da3d Port fix for bz1729499 from RHEL 8
Modify the cron command to avoid an e-mail with error message after
RaR is installed but not properly configured when the cron command
is triggered for the first time

Related: rhbz1973448
2021-06-30 18:20:25 +02:00

5 lines
215 B
Plaintext

# cronjob for ReaR
# periodically check if disk layout has changed and update
# the rescue image
30 1 * * * root test -f /var/lib/rear/layout/disklayout.conf && /usr/sbin/rear checklayout || /usr/sbin/rear mkrescue