CentOS and RHEL 8 or later versions

For CentOS and RHEL 8 or later versions, the dnf-automatic package is the preferred approach:

dnf install dnf-automatic

In /etc/dnf/automatic.conf set:

download_updates = yes
apply_updates = yes

Aktiviere und starte automatische Aktualisierungen über:

systemctl enable --now dnf-automatic.timer

Check status of dnf-automatic:

systemctl list-timers *dnf-*

CentOS and RHEL 7 or earlier versions

For CentOS and RHEL 7 or earlier versions, the yum-cron package is the preferred approach:

yum install yum-cron

In /etc/yum/yum-cron.conf set:

download_updates = yes
apply_updates = yes

Aktiviere und starte automatische Aktualisierungen über:

systemctl start yum-cron.service

openSUSE

Zuerst musst du das automatische Update-Paket installieren

zypper install  yast2-online-update-configuration

Starte dann das Konfigurationswerkzeug (ncurses based) mit

yast2 online_update_configuration

Aktiviere die folgenden Einstellungen:

    Automatisches Online-Update
    Intervall: Täglich
    Überspringe interaktive Patches
    Mit Lizenzen einverstanden
    Benutze delta rpms

Bestätige deine Konfiguration mit OK.

Die offizielle openSUSE-Dokumentation findest du hier.