mon petit Raspberry Pi 2 sature un peu lorsqu'il lance la crontab cron.daily (mon système de monitoring lance des alertes Disk I/O overloaded)
Est-il possible de couper en deux les cron "système" de manière à moins le saturer ? Par exemple la moitié des scripts à 5h25 et l'autre à 6h25 (heure par défaut).
Cela sans mettre le bazar dans le système, parce que j'imagine que tout cela est géré automatiquement à l'installation/désinstallation des paquets...
La crontab daily est celle par défaut :
Code : Tout sélectionner
pi@Yavin:~ $ ll /etc/cron.daily/
total 48
-rwxr-xr-x 1 root root 15000 Apr 2 2016 apt
-rwxr-xr-x 1 root root 314 Jun 15 2014 aptitude
-rwxr-xr-x 1 root root 355 Oct 28 2014 bsdmainutils
-rwxr-xr-x 1 root root 1597 Jun 5 2016 dpkg
-rwxr-xr-x 1 root root 89 Jan 28 2014 logrotate
-rwxr-xr-x 1 root root 1293 Jan 6 2015 man-db
-rwxr-xr-x 1 root root 1110 Jul 26 2016 ntp
-rwxr-xr-x 1 root root 249 Jan 24 2016 passwd
-rwxr-xr-x 1 root root 383 Jul 14 18:50 samba
Code : Tout sélectionner
pi@Yavin:~ $ sudo cat /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )