crontab服务启动与关闭
/etc/init.d/crond start
/etc/init.d/crond stop
/etc/init.d/crond restart
/etc/init.d/crond reload
centos
service crond start //启动服务
service crond stop //关闭服务
service crond restart //重启服务
service crond reload //重新载入配置
添加一个定时任务
[root@bogon ~]# crontab -e
添加以下定时任务
# APP 日志上报(大数据部分的)日志切割以及清理
0 0 * * * sh /usr/local/script/common_event_record_log.sh