[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: Cron <root@merlin> if test -x /usr/sbin/apticron; then /usr/sbin/apticron --cron; else true; fi



Hallo Rolf, 

am Donnerstag, 23. Oktober 2025, 17:37:50 Mitteleuropäische Sommerzeit schrieb 
Rolf Reintjes:
snip
> Was sagen folgende Befehle?:
> crontab -l
> cat /etc/crontab
> ls -l /etc/cron.d
Das hier:

root@merlin:~# crontab -l
no crontab for root

root@merlin:~# 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
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

# Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR 
sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  * user-name command to be executed
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; }
#

root@merlin:~# ls -l /etc/cron.d
insgesamt 16
-rw-r--r-- 1 root root 290 19. Mai 17:21 anacron
-rw-r--r-- 1 root root 120  5. Mai 2024  apticron
-rw-r--r-- 1 root root 188 30. Jul 21:39 e2scrub_all
-rw-r--r-- 1 root root 400 15. Jan 2024  sysstat
root@merlin:~# 

Aber ich denke der Hinweis von Mechthilde dürfte zielführender sein. Ich habe 
keinen Bedarf mehr für MS Visual Code. War ne "Altlast" aus meiner beruflichen 
Programmiererexistenz. Deswegen habe ich jetzt auch die Datei 
/etc/apt/sources.list.d/vscode.sources nach /etc/apt/off verschoben.
Mal sehen was jetzt passiert. Morgen weiß ich Bescheid, ob das die Lösung war.

-- 
Mit freundlichen Grüßen
Matthias Müller

Diese Mail ist mit OpenPGP signiert!
Zum überprüfen der Signatur, der Integrität und Authentizität
meiner Mails kann man OpenPGP (https://www.openpgp.org/) installieren.
Bitte senden Sie als Antwort auf meine E-Mails reine Text-Nachrichten!

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: