Boot poster challenge

Chris Adams cmadams at hiwaay.net
Wed Nov 17 04:44:53 UTC 2004


Once upon a time, Dave Jones <davej at 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 at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.




More information about the fedora-devel-list mailing list