[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Boot poster challenge



Once upon a time, Dave Jones <davej redhat com> said:
> I've heard from other quarters that even Microsoft's update
> notifier is becoming more sensible than ours. They even have
> a 'download the updates in the background when things are idle'
> option aparently, which sounds cute. (think I'd rather be around
> when it applies them though).

On a couple of workstations I use:

45 6 * * 1-5 t=`mktemp /tmp/yum.XXXXXXXX`; yum check-update >& /dev/null; yum -C check-update >& $t || (h=`hostname | cut -d. -f1`; cat $t | mail -s "Updates available for $h" root; yum -y --download-only update >& /dev/null); rm -f $t

When there are updates, I get an email and they are automatically
downloaded so they are ready to go when I am ready to load them.
-- 
Chris Adams <cmadams hiwaay net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]