Hola, ------- Original Message ------- On Saturday, February 11th, 2023 at 21:34, Josep Lladonosa <jllad...@gmail.com> wrote:
> He trobat el lloc on hi ha aquestes "de 7:30 h a 23:30 h", a la programació > del temporitzador de systemd: > > $ cat /lib/systemd/system/anacron.timer > [Unit] > Description=Trigger anacron every hour > > [Timer] > OnCalendar=*-*-* 07..23:30 > RandomizedDelaySec=5m > Persistent=true > > [Install] > WantedBy=timers.target > > On Sat, 11 Feb 2023 at 21:09, tictacbum <tictac...@gmail.com> wrote: > >> Hola, >> anacron està pensat per a sistemes que no estan sempre engegats, crec que si >> el desinstales ja s'executarà a l'hora que vols No en sé gaire i potser pixo fora de test. De totes maneres, al Gener hi ha haver una actualització del paquet "anacron" a "testing" (no dius/no he sabut trobar quin repositori fas servir al teu sistema) que venia amb un missatge informant de que encara no estava ben ajustada la interacció entre "anacron" i "systemd" (no tinc clar com/si afecta a "cron"). Suggeria una sèrie de mesures a prendre per a que tot funciones com abans d'aquesta actualització. Adjunto el missatge post-instal·lació de "anacron" per si pot ajudar: anacron (2.3-36) unstable; urgency=medium If you run Debian testing/unstable and ever installed anacron 2.3-33 on a systemd based system, then anacron will no longer be enabled and the daily/weekly/monthly cron jobs will not be run until it is. Since not all cron jobs have migrated to systemd timers, Debian testing/unstable systems with systemd and anacron may be missing some essential cron jobs, such as making backups of aptitude state. To see if a system is affected you can use these commands: zgrep -i anacron.*2.3-33 /var/log/apt/history.log* systemctl status anacron.service anacron.timer To re-enable anacron you can use these commands: sudo systemctl enable anacron.service anacron.timer sudo systemctl start anacron.service anacron.timer -- Lance Lin <lq27...@gmail.com> Wed, 11 Jan 2023 21:15:22 +0700 Salut, robert >>