1、安装
 
复制代码 代码示例:
# 
yum install vixie-cron
# yum install crontabs
说明:
vixie-cron软件包是cron的主程序;
crontabs软件包是用来安装、卸装、或列举用来驱动 cron 守护进程的表格的程序。
2、启动
 
复制代码 代码示例:
# /etc/init.d/crond restart
Stopping crond:                                            [  OK  ]
Starting crond:                                            [ OK ]
3,设置为开机启动
 
复制代码 代码示例:
# chkconfig crond on   //开机自启动
# service crond start  //启动