Bonjour,
J'ai un serveur web sous debian4 , mon hébergeur à mis en place plusieurs CRON:
-rwxr-xr-x 1 root root 5041 2007年02月26日 16:21 /etc/cron.daily/apt
-rwxr-xr-x 1 root root 314 2007年03月14日 10:11 /etc/cron.daily/aptitude
-rwxr-xr-x 1 root root 502 2007年01月02日 12:26 /etc/cron.daily/bsdmainutils
-rwxr-xr-x 1 root root 3961 2007年01月20日 04:46 /etc/cron.daily/exim4-base
-rwxr-xr-x 1 root root 419 2006年08月06日 04:12 /etc/cron.daily/find
-rwxr-xr-x 1 root root 89 2006年04月08日 18:16 /etc/cron.daily/logrotate
-rwxr-xr-x 1 root root 946 2007年01月29日 07:20 /etc/cron.daily/man-db
-rwxr-xr-x 1 root root 3283 2006年12月19日 19:02 /etc/cron.daily/standard
-rwxr-xr-x 1 root root 1307 2006年05月25日 05:38 /etc/cron.daily/sysklogd
-rwxr-xr-x 1 root root 129 2006年12月19日 19:02 /etc/cron.monthly/standard
-rwxr-xr-x 1 root root 520 2007年01月29日 07:20 /etc/cron.weekly/man-db
-rwxr-xr-x 1 root root 1092 2006年05月25日 05:38 /etc/cron.weekly/sysklogd
ma question est la suivante:
Si je veux modifier les heures de ces différents CRON , je vais ou ... dans quels fichiers sont positionnés les scripts.
Merci
Forum Linux.debian/ubuntu Comment paramètrer les CRONTAB
Posté par ayyoub .
Étiquettes :
aucune
28
mai
2007
# /etc/crontab
Posté par Vincent ORDY . Évalué à 3.
# 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 )
Il te suffit de changer les heures.
Crond rechargera même tout seul le fichier une fois que tu l'auras modifié sans redémarrage.
[^] # Re: /etc/crontab
Posté par -=[ silmaril ]=- (site web personnel) . Évalué à 2.
place, ils viennent directement des paquets installé sur ton serveur.
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.