-   Linux - Server (
-   -   RHEL 5.5 Schedule updates (

mhouston100 07-08-2010 09:06 PM

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!! :cry: I'm totally at a loss and for once google is not my friend!

Elv13 07-08-2010 09:10 PM

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).

mhouston100 07-08-2010 09:44 PM

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.

chrism01 07-09-2010 02:00 AM

Here's a useful link

knudfl 07-09-2010 05:50 AM

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.

All times are GMT -5. The time now is 02:58 AM.