5353775bea
(bnc#898239) OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=122
11 lines
542 B
Plaintext
11 lines
542 B
Plaintext
#
|
|
# cron.d/mdadm - regular redundancy checks
|
|
#
|
|
|
|
# Start checking each month early in the morning.
|
|
# Continue each day until all done
|
|
|
|
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
|
0 1 * * 0 root source /etc/sysconfig/mdadm; [ -n "$MDADM_CHECK_DURATION" -a -x /usr/share/mdadm/mdcheck -a $(date +\%d) -le 7 ] && /usr/share/mdadm/mdcheck --duration "$MDADM_CHECK_DURATION"
|
|
0 1 * * 1-6 root source /etc/sysconfig/mdadm; [ -n "$MDADM_CHECK_DURATION" -a -x /usr/share/mdadm/mdcheck ] && /usr/share/mdadm/mdcheck --continue --duration "$MDADM_CHECK_DURATION"
|