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
相關文章
相關標籤/搜索