My Oracle Support Banner

Configuring logrotate to Run Successfully From cron.hourly (Doc ID 2458711.1)

Last updated on APRIL 24, 2020

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64


Logrotate was not successful when it gets triggered every hour using /etc/cron.hourly on OL6

The same logrotate script works fine with /etc/cron.daily/logrotate. When it moved from /etc/cron.daily/logrotate to /etc/cron.hourly/logrotate it dose not work.
Even when /etc/cron.hourly/logrotate executed manually, it works only once in a day.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.