LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How does logrotate use its status file? (https://www.linuxquestions.org/questions/linux-newbie-8/how-does-logrotate-use-its-status-file-4175463954/)

lastflight 05-29-2013 10:05 AM

How does logrotate use its status file?
 
It seems the status file is only a record of the last day logrotate dealt with a log file.
But I am using logrotate for non-system purposes and the rotation is based entirely on size (not frequency). So I thought I might ignore the status file entirely. I run logrotate like so (in a cron job):
logrotate -s /dev/null .logrotate.conf
and it works fine.
Am I missing anything?

unSpawn 05-29-2013 01:45 PM

No, not missing anything.

lastflight 05-30-2013 03:54 AM

Thank you very much, unSpawn.


All times are GMT -5. The time now is 07:29 PM.