Cron在Centos上的安装方法

2018-02-08 22:18:35 6191

Centos最小化安装时候貌似crond是不带的,需要自己手动安装。但是Centos不同的版本安装命令不一样,在此记录一下!


# On CentOS 7 you need to use cronie:

yum install -y cronie


# On CentOS 6 you can install vixie-cron, but the real package is cronie:

yum install -y vixie-cron


# 启用

systemctl enable crond

systemctl restart crond

参考:


http://www.landui.com/questions/21802223/how-to-install-crontab-on-centos


提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: