Othervise you can use yum-cron. The yum-cron package allows you to automatically run the yum command as a cron job to check for, download, and apply updates.
sudo yum install yum-cron
Once the installation is complete, enable and start the service:
sudo systemctl enable
yum-cronsudo systemctl...