yum update

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

 



Actually, on Fedora, you do not write a script--because it's already
provided.

service yum start

will turn on nightly updates.

chkconfig --level 35 yum on

will enable nightly updates across booted sessions.

Dawes, Stephen writes:
> There are a lot of factors in play.
> 1. the band width of the machine receiving the rpms.
> 2. the band width of the yum repository you have connected to. 
> 3. the number of packages that need upgrading.
> 4. the fact that you are doing an upgrade and not an update.
> 5. the current load on the machine being upgraded.
> 
> So, why not cancel the job, and schedule it to run over night.
> 
> You can use cron to check and apply updates daily weekly monthely ... 
> Al you need to do is put the command
> Yum -y update
> In a script and put into the cron directory of your choice.
> 
> The script would look like
> 
> #!/bin/bash
> yum -y update
> 
> 
> Steve Dawes
> Phone: (403) 268-5527
> Email: SDawes at calgary.ca
>  
>  
> 
> 
> NOTICE -
> This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 

Janina Sajka				Phone: +1.202.494.7040
Partner, Capital Accessibility LLC	http://www.CapitalAccessibility.Com

Chair, Accessibility Workgroup		Free Standards Group (FSG)
janina at freestandards.org		http://a11y.org

If Linux can't solve your computing problem, you need a different problem.





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux