Automatic updates on Centos 7
Install yum cron
vi /etc/yum/yum-cron.conf
Change to automatically download updates :
download-updates = yes apply_updates = yes emit_via = email
Run the following commands to enable and start
systemctl start yum-cron systemctl enable yum-cron