]> TLD Linux GIT Repositories - packages/mdadm.git/blob - mdadm.cron
- updated to 4.3
[packages/mdadm.git] / mdadm.cron
1 #
2 # cron.d/mdadm -- schedules periodic redundancy checks of MD devices
3 #
4 # Copyright © martin f. krafft <madduck@madduck.net>
5 # distributed under the terms of the Artistic Licence 2.0
6 #
7
8 # By default, run at 00:57 on every Sunday, but do nothing unless the day of
9 # the month is less than or equal to 7. Thus, only run on the first Sunday of
10 # each month. crontab(5) sucks, unfortunately, in this regard; therefore this
11 # hack (see debian#380425).
12 57 0 * * 0 root [ $(date +\%d) -le 7 ] && /sbin/mdadm-checkarray --cron --all --quiet
13