yum-cron(8) - Linux man page
Name
yum-cron - an interface to convieniently call yum from cronSynopsis
serviceyum-cron start
Description
yum-cron is a simple way to call yum commands from cron. It provides configuration to keep repository metadata up to date, and to check for, download, and apply updates.
Configuration Options
CHECK_FIRST - Before we try to do anything, check to see if we can reach the repos. If they cannot be reached then silently stop all further actions. Default no.
CHECK_ONLY - Just run the "yum check-update" command (will not download or install any packages). Default no.
DOWNLOAD_ONLY - Just run the "yum upgrade -y --downloadonly" command (does nothing if CHECK_ONLY is set). Default no.
ERROR_LEVEL - The value passed to the "--errorlevel" yum command line option. Default 0.
DEBUG_LEVEL - The value passed to the "--debuglevel" yum command line option. Default 0.
RANDOMWAIT - The value passed to the "--randomwait" yum command line option. Default 60.
MAILTO - If this is specified then the cronjob will never output anything directly, but will mail it (via. the mail command) to the user specified. Default (unset).
SYSTEMNAME - How to identify the local machine, when unset we use the output of the "hostname" command. Default (unset).
DAYS_OF_WEEK - A list of the day nummbers to run on, so that yum-cron can be specified to run everyday and be reconfigured here to run less often. 0 is Sunday. Default 0123456 (everyday).
CLEANDAY - Which day of the week should yum-cron tell yum to clean all data from it's cache. Technically this just means it should also run the yum-weekly.yum script. Default 0.
SERVICE_WAITS - When a sysadmin. runs "service yum-cron stop" do we just turn the cron service off, or do we check if it's running and wait for it to stop before returning. Default yes.
SERVICE_WAIT_TIME - Set maximum time period (in seconds) for the yum-cron service to wait when stopping, after this timeout expires we just return failure to the "service yum-cron stop" command. Default 300.
Files
/etc/sysconfig/yum-cron /etc/yum/yum-daily.yum /etc/yum/yum-weekly.yum
See Also
yum (8)
Authors
See the Authors file included with this program.