[Linux-bruxelles] fonctionnement logrotate

Didrik Pinte pinted at tiscali.be
Jeu 29 Juil 11:35:14 CEST 2004


Le jeu 29/07/2004 à 11:26, Frederic Peters a écrit :
> 
> La voilà: ce n'est pas logrotate qui gère ces fichiers de logs.  Va
> plutôt lire /etc/cron.daily/sysklogd
> 
> 
>         Frédéric

Cool, mille mercis.

Effectivement, si je ne me trompe pas, vu l'indication de /etc/crontab,
il fait tourner cron.daily, tous les jours à 6h25 :

geru-itea:/home/did# 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.
# This file also has a username field, 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    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
#

Donc, si je change l'heure à une heure décente :-), ça marchera nickel !

Mille mercis pour le pointeur,

Didrik




Plus d'informations sur la liste de diffusion Linux-bruxelles