1yum-cron(8) yum-cron(8)
2
3
4
6 yum-cron - an interface to convieniently call yum from cron
7
8
10 service yum-cron start
11
12
14 yum-cron is a simple way to call yum commands from cron. It provides
15 configuration to keep repository metadata up to date, and to check for,
16 download, and apply updates.
17
19 CHECK_FIRST - Before we try to do anything, check to see if we can
20 reach the repos. If they cannot be reached then silently stop all fur‐
21 ther actions. Default no.
22
23 CHECK_ONLY - Just run the "yum check-update" command (will not download
24 or install any packages). Default no.
25
26 DOWNLOAD_ONLY - Just run the "yum upgrade -y --downloadonly" command
27 (does nothing if CHECK_ONLY is set). Default no.
28
29 ERROR_LEVEL - The value passed to the "--errorlevel" yum command line
30 option. Default 0.
31
32 DEBUG_LEVEL - The value passed to the "--debuglevel" yum command line
33 option. Default 0.
34
35 RANDOMWAIT - The value passed to the "--randomwait" yum command line
36 option. Default 60.
37
38 MAILTO - If this is specified then the cronjob will never output any‐
39 thing directly, but will mail it (via. the mail command) to the user
40 specified. Default (unset).
41
42 SYSTEMNAME - How to identify the local machine, when unset we use the
43 output of the "hostname" command. Default (unset).
44
45 DAYS_OF_WEEK - A list of the day nummbers to run on, so that yum-cron
46 can be specified to run everyday and be reconfigured here to run less
47 often. 0 is Sunday. Default 0123456 (everyday).
48
49 CLEANDAY - Which day of the week should yum-cron tell yum to clean all
50 data from it's cache. Technically this just means it should also run
51 the yum-weekly.yum script. Default 0.
52
53 SERVICE_WAITS - When a sysadmin. runs "service yum-cron stop" do we
54 just turn the cron service off, or do we check if it's running and wait
55 for it to stop before returning. Default yes.
56
57 SERVICE_WAIT_TIME - Set maximum time period (in seconds) for the
58 yum-cron service to wait when stopping, after this timeout expires we
59 just return failure to the "service yum-cron stop" command. Default
60 300.
61
62
64 /etc/sysconfig/yum-cron
65 /etc/yum/yum-daily.yum
66 /etc/yum/yum-weekly.yum
67
68
70 yum [4m(8)
71
72
74 See the Authors file included with this program.
75
76
78 There of course aren't any bugs, but if you find any, you should email
79 the mailing list, yum-devel@lists.baseurl.org, or consult bugzilla.
80
81
82
83James Antill yum-cron(8)