My Oracle Support Banner

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

Last updated on OCTOBER 25, 2018

Applies to:

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

Symptoms

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.

Cause

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
Symptoms
Cause
Solution


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