howto enable automatic updates without gui

Mogens Kjaer mk at crc.dk
Wed Apr 1 13:09:39 UTC 2009


Neal Becker wrote:
> How can I enable automatic updates on a F10 box without having a desktop 
> login (that is, I have ssh access)?
>

You can put an executable file in /etc/cron.daily
with:

#!/bin/bash
/usr/bin/yum -y update yum
/usr/bin/yum -y update

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: mk at crc.dk Homepage: http://www.crc.dk




More information about the fedora-list mailing list