comprendre mon crontab
Bonjour
Voici mon /etc/crontab:
---------------
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 run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || run-parts
--report /etc/cron.daily
47 6 * * 7 root test -x /usr/sbin/anacron || run-parts
--report /etc/cron.weekly
52 6 1 * * root test -x /usr/sbin/anacron || run-parts
--report /etc/cron.monthly
-----------------------------------
Je comprends pas pourquoi il fait un test sur l'existence
de /sbin/anacron (-x fichier Vrai si le fichier existe et est
exécutable), pour les daily, monthly et weekly et pas pour les hourly.
Dans /etc/cron.hourly y a juste .placeholder qui est la juste pour que
le repertoire reste là et ne soit pas effacer.
Et en plus j'ai pas /usr/sbin/anacron ????? Donc cron.d ne fait rien
c'est ça?
Merci
Reply to: