CLIENT AREACall Us 1-800-383-5193


Call Us 1-800-383-5193


Call Us 1-800-383-5193

Need help?

Our experts have had an average response time of 13.52 minutes in October 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Email notification from cron run-parts

by | Nov 13, 2021

When we install yum-cron, it configures email notification from cron run-parts to notify us of run-parts for Cron tasks.

As part of our Server Management Services, we assist our customers with several yum queries.

Today, let us see how we can resolve this issue.


Email notification from cron run-parts

Most often, we may receive an email with a similar alert.

We can use the information below to change the email notifications.

Subject: Cron <[email protected]> run-parts /etc/cron.hourly

Not using downloaded extras/repomd.xml because it is older than what we have:
Current : Mon Jul 6 18:06:49 2020
Downloaded: Wed May 20 23:19:30 2020
Not using downloaded updates/repomd.xml because it is older than what we have:
Current : Thu Jul 16 17:45:59 2020
Downloaded: Thu Jun 25 22:10:47 2020

The cron job relates to an additional package for yum. That is:


And the file that specifically sends the hourly cronjob is:

cat /etc/cron.hourly/yum-hourly.cron

if [[ ! -f /var/lock/subsys/yum-cron ]]; then
exit 0

# Action!

In this case, the command that actually runs is:

exec /usr/sbin/yum-cron /etc/yum/yum-cron-hourly.conf.

And the command it’s getting its configuration is from:


A look at this file will show us a few configurations regarding emails inside:

cat /etc/yum/yum-cron-hourly.conf
# The address to send email messages from.
# NOTE: 'localhost' will be replaced with the value of system_name.
email_from = root

# List of addresses to send messages to.

email_to = root

# Name of the host to connect to send email messages.

email_host = localhost

Moving ahead, our Support Techs recommend these ways to prevent this from coming in:

First, we can try to remove the package entirely since the package runs a simple yum update command every hour.

# What kind of update to use:
# default = yum upgrade
# security = yum --security upgrade
# security-severity:Critical = yum --sec-severity=Critical upgrade
# minimal = yum --bugfix update-minimal
# minimal-security = yum --security update-minimal
# minimal-security-severity:Critical = --sec-severity=Critical update-minimal
update_cmd = default

Or, we can stop the service from running by using either of these commands :

/bin/rm -f /var/lock/subsys/yum-cron
systemctl stop yum-cron

Similarly, to keep the service running and the command to issue, we can alternatively comment out the email section from the configuration file:


Once we modify the configuration, we restart the service, so the daemon is aware of the changes.

[Couldn’t resolve? We are glad to assist you]



In short, we saw how our Support Techs go about the Email notifications from yum.


Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.



Submit a Comment

Your email address will not be published. Required fields are marked *