Re: anacron
Pierre Crescenzo wrote:
>
> > > Comment indiquer à anacron de démarrer les "cron.daily" à une
> > > autre heure que 7 h 30 (ou à peu près) ? Merci.
Bon, une technique pour trouver ce genre d'info
On suppose (probablement à juste titre :-) que cette info est une
configuration du package anacron codée dans l'un des fichiers amenés par
anacron...
D'où la commande
dpkg -L anacron | grep etc
chez moi ça donne (si je ne conserve que les fichiers)
/etc/cron.d/anacron
/etc/init.d/anacron
/etc/cron.daily/0anacron
/etc/cron.weekly/0anacron
/etc/cron.monthly/0anacron
/etc/anacrontab
et
more /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 /usr/sbin/anacron && /usr/sbin/anacron -s
!!!!
!!!!
!!!!
Ça doit être ça ...
Si on a du bol et que l'on commence par le premier fichier, ça va vite ,
sinon ...
;-)
--
# Georges MARIANO tel: (33) 03 20 43 84 06
# INRETS, 20 rue Elisee Reclus fax: (33) 03 20 43 83 59
# 59650 Villeneuve d'Ascq mailto:georges.mariano@inrets.fr
# FRANCE.
# http://www3.inrets.fr/Public/ESTAS/Mariano.Georges/
# http://www3.inrets.fr/B-Bibliography/
Reply to:
- Follow-Ups:
- Re: anacron
- From: Pierre Crescenzo <Pierre@crescenzo.nom.fr>
- References:
- anacron
- From: Pierre Crescenzo <Pierre@crescenzo.nom.fr>
- Re: anacron
- From: frederic massot <frederic@juliana-multimedia.com>
- Re: anacron
- From: Pierre Crescenzo <Pierre@crescenzo.nom.fr>