View Full Version : Can yum be set to update automatically?

19th April 2006, 01:14 AM
Can yum be set to automatically find and/or install updates in case I forget to update it? Haven't found the code to do that yet.

19th April 2006, 02:20 AM
you can add "yum -y update" to your root crontab (http://www.computerhope.com/unix/ucrontab.htm)

19th April 2006, 02:32 AM
There's also the built-in way, you turn on the yum service:

/sbin/chkconfig yum on

and to get it going now (in case you don't reboot for a while):

/etc/init.d/yum start

since fedora already has yum in the cron.daily and cron.weekly directories
it will just work