On my docker, i use amazonlinux:2 at this default enviroment not install cron.
I want to use logrotate for rotating log of application every daily. Can Logrotate work automatic without cron?
This file /etc/logrotate.d/app_log
/home/app/logs/*.log {
daily
compress
maxage 7
missingok
notifempty
}