Product SiteDocumentation Site

7.7.2. Configuration

/etc/sysconfig/yum-cron
# Yum parameters, global at scripts runtime.
YUM_PARAMETER=

# Do no install, just check (yes|no)
CHECK_ONLY=no

# Check if repos are reachable before updating (yes|no)
CHECK_FIRST=no

# Do no install, just check and download (yes|no)
# Implica CHECK_ONLY=yes
DOWNLOAD_ONLY=no

# Verbosity of error reports, range 0-10.
# 0 report only critical errors.
# 1 report all errors.
# ERROR_LEVEL=0

# Debug level, range 0-10.
# Higher value, more verbose debug output.
# Level 0 is the default
# DEBUG_LEVEL=0

# Random wait, 60 implies yum will wait randomly 
# between 1 and 60 minutes to act.
RANDOMWAIT="60"

# If defined, MAILTO and mail command is available,
# mail is used to send the output.
# By default, crond sends the output by email by itself
MAILTO= 

# SYSTEMNAME , by default hostname
# Only in used in combination with MAILTO
#SYSTEMNAME="" 

# Its possible to define weekdays to run the updates
# by default its every day 
#DAYS_OF_WEEK="0123456" 

# Cleanup day. By default 0 (Sunday).  
# If not in DAYS_OF_WEEK above, it will never clean
CLEANDAY="0"
\t