Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Update yum-cron steps for RH flavors OS
Browse files Browse the repository at this point in the history
  • Loading branch information
Pravanjan Hota committed Mar 28, 2023
1 parent 01ea3f3 commit f9fabdb
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,14 @@ RHEL 7 and CentOS 7 Rackspace public cloud servers:
If you are using `vim` to edit the configuration file, press **esc** and
then enter **:wq** to save any changes.

After you have saved the file, the following message displays stating that
the file was properly written:
6. You also need to update /etc/yum/yum-cron-hourly.conf file if you want to
apply update hourly. Otherwise /etc/yum/yum-cron.conf will run on daily
using the following cron job. Similarly hourly cron job is at the
`/etc/cron.hourly/0yum-hourly.cron` location.

"/etc/yum/yum-cron.conf" 81L, 2620C written
$ cat /etc/cron.daily/0yum-daily.cron

6. Check whether the `yum-cron` service is started by running the following
7. Check whether the `yum-cron` service is started by running the following
command:

$ systemctl status yum-cron
Expand All @@ -211,7 +213,7 @@ RHEL 7 and CentOS 7 Rackspace public cloud servers:

$ systemctl start yum-cron

7. Now that the service is running, you should ensure that the service starts
8. Now that the service is running, you should ensure that the service starts
automatically after a server reboot. Run the following command to check
whether `yum-cron` is enabled:

Expand All @@ -223,5 +225,5 @@ RHEL 7 and CentOS 7 Rackspace public cloud servers:

$ systemctl enable yum-cron

8. If you need to set up package update exclusions, follow similarly as step 7
9. If you need to set up package update exclusions, follow similarly as step 7
mentioned above in RHEL 5/6 section.

0 comments on commit f9fabdb

Please sign in to comment.