# the standard "service stop|start" commands to enable or disable yum-cron.
if [[ ! -f /var/lock/subsys/yum-cron ]]; then
exit 0
fi
# Action!
exec /usr/sbin/yum-cron
完成配置。现在你的系统将每天自动更新一次。更多细节请参照 yum-cron 的说明手册。
閱讀更多 IT小白進階之路 的文章
2018-08-01 07:10:00 IT小白進階之路
# the standard "service stop|start" commands to enable or disable yum-cron.
if [[ ! -f /var/lock/subsys/yum-cron ]]; then
exit 0
fi
# Action!
exec /usr/sbin/yum-cron
完成配置。现在你的系统将每天自动更新一次。更多细节请参照 yum-cron 的说明手册。
閱讀更多 IT小白進階之路 的文章