diff options
author | martin f. krafft <madduck@debian.org> | 2010-08-29 13:53:20 +0200 |
---|---|---|
committer | martin f. krafft <madduck@debian.org> | 2010-08-29 13:53:23 +0200 |
commit | 7218996601f029954470ef84a3aad7c836a08887 (patch) | |
tree | 3c9105768e5c1631f2ed83dcd562f9f06f1b79fd /debian/mdadm.cron.d | |
parent | aea7ef0f2e2090807efde0c8d86c01de0b7813e3 (diff) |
Add I/O rescheduling functionality to the checkarray
Also makes the cronjob use --idle by default so to minimise the impact
of the monthly checks on the running system.
Diffstat (limited to 'debian/mdadm.cron.d')
-rw-r--r-- | debian/mdadm.cron.d | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mdadm.cron.d b/debian/mdadm.cron.d index 7a167cf6..309d180e 100644 --- a/debian/mdadm.cron.d +++ b/debian/mdadm.cron.d @@ -9,4 +9,4 @@ # the month is less than or equal to 7. Thus, only run on the first Sunday of # each month. crontab(5) sucks, unfortunately, in this regard; therefore this # hack (see #380425). -57 0 * * 0 root if [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -le 7 ]; then /usr/share/mdadm/checkarray --cron --all --quiet; fi +57 0 * * 0 root if [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -le 7 ]; then /usr/share/mdadm/checkarray --cron --all --idle --quiet; fi |