By default, the installation of logrotate creates a crontab file inside /etc/cron. daily named logrotate. As it is the case with the other crontab files inside this directory, it will be executed daily starting at 6:25 am if anacron is not installed.
Is logrotate run automatically?
logrotate is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation, compression, removal, and mailing of log files. … Normally, logrotate is run as a daily cron job.
How is logrotate scheduled?
The system runs logrotate on a schedule, usually daily. On most distributions, the script that runs logrotate daily is located at /etc/cron. daily/logrotate .