Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-08-2010, 09:06 PM   #1
Registered: Jun 2010
Posts: 32

Rep: Reputation: 16
RHEL 5.5 Schedule updates

I must be blind or going crazy. I was positive that there was supposed to be a function of RHN to schedule update events!

I know there is some simple solution that I am overlooking but I just cannot find any information regarding the scheduling of updates on RHEL 5.5.

There are updates waiting to happen and I want to schedule them to run later on tonight. Is it as simple as setting a cron job to run the yum command to update? I was sure that there was some other functionality through RHN for queuing specific updates, filtering updates etc

Please help!! I'm totally at a loss and for once google is not my friend!
Old 07-08-2010, 09:10 PM   #2
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
Yes, you can add a cron job (as root) to run "yum update", it will work. I did it for my CentOS servers (I don't pay for RedHat, I am a RHCE myself, so it would end up paying other for my own services).
Old 07-08-2010, 09:44 PM   #3
Registered: Jun 2010
Posts: 32

Original Poster
Rep: Reputation: 16
If your going to charge yourself, charge yourself double, i'm sure it will work out well for you ha ha

The reason I wanted a more granular control though is that there is a kernel update etc waiting to be updated and a few actually require a restart. I want to schedule all the normal security updates to be done automatically on a Friday afternoon and bypass things like kernel updates etc

I was under the impression that this is what the RHN website allowed but I cannot find anything like it there.
Old 07-09-2010, 02:00 AM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.7, Centos 5.10
Posts: 16,925

Rep: Reputation: 2215Reputation: 2215Reputation: 2215Reputation: 2215Reputation: 2215Reputation: 2215Reputation: 2215Reputation: 2215Reputation: 2215Reputation: 2215Reputation: 2215
Here's a useful link
Old 07-09-2010, 05:50 AM   #5
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 15,918

Rep: Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026
If you want to exclude any kernel update,
simply add a line to /etc/yum.conf :

.. will exclude all packages, starting with "kernel".

→ All packages starting with "k".
The wildcard ( * ) is always to be used.
1 members found this post helpful.


rhel, schedule, update

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL updates red_coder Linux - Server 1 05-19-2008 01:19 AM
LXer: Schedule Tasks Using Gnome-schedule (cron & at GUI) LXer Syndicated Linux News 0 07-28-2007 01:31 AM
Schedule Package Updates Fedora Core 6? Funkester Linux - Software 2 01-26-2007 12:10 PM
RHEL Updates without RHN logosys Red Hat 1 09-23-2005 09:01 AM
alternative updates for RHEL?? halo14 Red Hat 1 04-17-2004 03:36 PM

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration