LINUX.ORG.RU

История изменений

Исправление makoven, (текущая версия) :

Уже не вспомню с какими косяками сам раньше сталкивался, но вот выдержка из убунтовского /etc/cron.d/mdadm:

# By default, run at 00:57 on every Sunday, but do nothing unless the day of
# 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 --idle --quiet; fi

помню, что тоже приходилось что-то на баше костылить

Исходная версия makoven, :

Уже не вспомню помню с какими косяками сам раньше сталкивался, но вот выдержка из убунтовского /etc/cron.d/mdadm:

# By default, run at 00:57 on every Sunday, but do nothing unless the day of
# 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 --idle --quiet; fi

помню, что тоже приходилось что-то на баше костылить