[Yum] cron automated "update" & "install" centrally located

Prayther, Aaron Aaron.Prayther at pfizer.com
Wed Oct 19 14:11:09 UTC 2005


Had to add the "*" at the end...
==========================================================
#!/bin/sh

if [ -f /var/lock/subsys/yum ]; then
        /usr/bin/yum -R 5 -e 0 -d 0 -y -c
http://ljads2.agouron.com/rhel4/yum.conf update yum
        /usr/bin/yum -R 15 -e 0 -d 0 -y -c
http://ljads2.agouron.com/rhel4/yum.conf update
        /usr/bin/yum -R 15 -e 0 -d 0 -y -c
http://ljads2.agouron.com/rhel4/yum-push.conf install "*"
fi
==========================================================
----------------------------------------------------------------------
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged.  It is intended for the addressee(s) only.  Access to this E-mail by anyone else is unauthorized.  If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful.  If you are not an addressee, please inform the sender immediately.



More information about the Yum mailing list