旋转 apache 博客的脚本

2 linux bash logrotate cron apache-2.2

我正在寻找一个可以在 apache 上轮换博客的脚本。我想通过 cron 安排脚本,以便它可以定期运行并为服务器上的所有网站轮换 access_log 和 error_log。

谢谢,马克