Anacron comment fonctionne-t-il ?

Demande d'aide : c'est ici.
Répondre
Avatar de l’utilisateur
Tachyon
Membre
Membre
Messages : 138
Inscription : 11 janv. 2017, 14:39
Status : Hors-ligne

Bonjour

je me penche sur les taches ouvertes superflu , j'ai anacron au démarrage du pc , je vois en regardant l'activitée réseau qu'il fait un apt update mais je ne sais pas comment cela fonctionne

comment savoir qu'elle tache sont planifié, car le fichier en question me renvoi une série de chiffres

Code : Tout sélectionner

$ cat /etc/anacrontab
# /etc/anacrontab: configuration file for anacron

# See anacron(8) and anacrontab(5) for details.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
HOME=/root
LOGNAME=root

# These replace cron's entries
1       5       cron.daily      run-parts --report /etc/cron.daily
7       10      cron.weekly     run-parts --report /etc/cron.weekly
@monthly        15      cron.monthly    run-parts --report /etc/cron.monthly

Code : Tout sélectionner

tachyon@tachyon:/var/spool/anacron$ ll
total 12
-rw------- 1 root root 9 août  29 14:38 cron.daily
-rw------- 1 root root 9 août  24 14:57 cron.monthly
-rw------- 1 root root 9 août  28 15:10 cron.weekly

Code : Tout sélectionner

:/var/spool/anacron$ sudo cat cron.daily
[sudo] Mot de passe de tachyon : 
20170829

ou est déclaré le fait de lui faire faire un update au démarrage ?
Répondre