Why are we setting daily/weekly/monthly option in config file, if we can do it in cron (and actually do)? What is the sense of this option ?
For example: I set to execute "logrotate -f /etc/logrotate.d/app" every day(daily). But in config file (/etc/logrotate.d/app) I'll set weekly:
/home/dirnov/www/letsee/logs/*.log {
monthly
missingok
rotate 4
compress
notifempty
}
And I see that there is no sense of "monthly", because cron will do it "daily".