logrotate
구성 파일을 넣고 /etc/logrotate.d/
일관된 시간에 로그가 회전 할 것으로 예상했습니다. 그러나, 로그 회전 시간은 무작위로 +/- 1 시간으로 보이지 않습니다.
로그 회전 시작 시간이 무작위 인 이유는 무엇이며 어떻게 변경할 수 있습니까?
정보 : 내 logrotate 구성 파일은 다음과 같습니다 ...
/opt/backups/network/*.conf {
copytruncate
rotate 30
daily
create 644 root root
dateext
maxage 30
missingok
notifempty
compress
delaycompress
postrotate
## Create symbolic links in daily/
PATH=`/usr/bin/dirname $1`;
FILE=`/bin/basename $1`;
/bin/ln -s $1 $PATH/daily/$FILE
endscript
}