crontab是Unix和Linux用于设置定时任务的指令。

可在固定间隔时间,执行指定的系统指令或shell脚本。

时间间隔的单位可以是分钟、小时、日月周及以上的任意组合

crontab安装:

yum install crontabs

服务操作说明:

service crond start  :启动服务

service crond stop  :关闭服务

service crond restart  :重启服务