automatic_updates_with_reboot
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
automatic_updates_with_reboot [2014/01/15 15:41] – admin | automatic_updates_with_reboot [2014/01/15 15:46] – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Automatic updates with yum-cron and reboot if necessary===== | =====Automatic updates with yum-cron and reboot if necessary===== | ||
- | |||
My repo server syncs the repositories between 13:00 and 16:00 local time. It will reboot at 06:00 if a kernel update has been installed. | My repo server syncs the repositories between 13:00 and 16:00 local time. It will reboot at 06:00 if a kernel update has been installed. | ||
Line 10: | Line 9: | ||
===Configure yum-cron=== | ===Configure yum-cron=== | ||
- | / | + | vi / |
< | < | ||
CHECK_ONLY=no | CHECK_ONLY=no | ||
Line 22: | Line 21: | ||
===Add reboot script=== | ===Add reboot script=== | ||
- | / | + | The yum-cron script / |
+ | vi / | ||
< | < | ||
entry=`cat / | entry=`cat / |
automatic_updates_with_reboot.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1