summaryrefslogtreecommitdiff
path: root/debian/mdadm.cron.d
diff options
context:
space:
mode:
authormartin f. krafft <madduck@debian.org>2010-08-29 13:53:20 +0200
committermartin f. krafft <madduck@debian.org>2010-08-29 13:53:23 +0200
commit7218996601f029954470ef84a3aad7c836a08887 (patch)
tree3c9105768e5c1631f2ed83dcd562f9f06f1b79fd /debian/mdadm.cron.d
parentaea7ef0f2e2090807efde0c8d86c01de0b7813e3 (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.d2
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