For Debian / Ubuntu System:For CentOS / RHEL / Fedora System:运行以下命令检查 logrotate 版本。另一种方法是在 /etc /crontab 文件中指定 cron 作业,这样每隔 10 分钟就会触发旋转。