-bash: crontab: command not found

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

 

posted @ 2015-08-25 10:59  zenghao  阅读(1377)  评论(0编辑  收藏  举报