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
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