码迷,mamicode.com
首页 > 其他好文 > 详细

-bash: crontab: command not found(转)

时间:2014-09-28 21:27:15      阅读:115      评论:0      收藏:0      [点我收藏+]

标签:ar   sp   art   on   c   r   bs   as   安装   

操作步骤

1. 确认crontab是否安装:

执行 crontab 命令如果报 command not found,就表明没有安装

2. 安装 crontab

执行 yum install -y vixie-cron

3. 确认是否安装成功:

执行 crontab -l

4. 看是否设置了开机自动启动

chkconfig --list crond

5. 启动crontab

service crond start

-bash: crontab: command not found(转)

标签:ar   sp   art   on   c   r   bs   as   安装   

原文地址:http://www.cnblogs.com/cnsanshao/p/3998777.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!