Bonjour,

Je rappelle un peu mon problème que j'avais exposé dans
le fil du 8/7/08 "Heure d'exécution de cron.*" :

Tous les matins à 7h30, mon disque dur fait des siennes (mouline)
à un moment ou j'utilise mon PC.
On m'a conseillé de me reveiller un peu plus tard mais c'est pas
vraiment une solution (dixit mon patron). On m'a aussi conseillé de
voir si il n'y avait pas un problème de fuseau horaire, là non
plus rien de spécial.

Finalement après quelques recherches supplémentaires, je viens de
tomber sur le fichier "coupable" :
-------------------------------
# cat /etc/cron.d/anacron
# /etc/cron.d/anacron: crontab entries for the anacron package

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

30 7 * * * root test -x /etc/init.d/anacron && /usr/sbin/invoke-rc.d anacron start >/dev/null
-------------------------------

C'est donc lui qui déclenche les crons à 7h30 alors qu'ils sont prévus
pour démarrer dans /etc/crontab bien plus tôt :

-------------------------------
# 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 )
#
------------------------------

Tout ça me parait pas très cohérent.
Je ne comprend pas trop comment ça marche ...
Comment dois-je au mieux corriger le problème ?

Merci

Guy

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to