logrotate (linux command)
Manual page and help for the logrotate linux command. The purpose of logrotate is to facilitate the administration of systems that produce a large number of log files. This allows log files to be automatically rotated, compressed, removed, and emailed. Each log file can be rotated on a daily, weekly, monthly basis, or when the file size reaches a certain level.