Changing logrotate time

Hi

How does one change the time that logrotate (specifically daily) happens? I noticed mine is happening during my rush hour!

Thanks

2 Replies

/etc/crontab calls the /etc/cron.[hourly/daily/weekly/monthly] directories.

My ubuntu installs all have (ie default):

hourly - 17 mins past the hour

daily - 06:25

weekly - Sunday 06:47

monthly - 1st 06:52

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct