LINUX下logrotate实现日志切割的简单记录

系统环境:CENTOS7mysql 系统默认天天会执行:/usr/sbin/logrotate /etc/logrotate.confsql [root@V71 logs]# cat /etc/cron.daily/logrotate  #!/bin/shshell /usr/sbin/logrotate /etc/logrotate.conf EXITVALUE=$? if [ $EXITVAL
相关文章
相关标签/搜索