Instead of giving an example of rotating logs at the end of the month,
give an example of how to rotate logs at the beginning of the month. Although they sound the same, since both of them rotate logs at the beginning of the day, the former ended up taking place on, e.g., July 31 00:00 instead of the expected July 31 23:59. This is contraty to POLA. Submitted by: Dan Langille <dan@langille.org>
This commit is contained in:
parent
489b9470ae
commit
5d88e21a2a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79951
@ -248,8 +248,9 @@ rotate every day at 23:00 hr
|
||||
rotate every week on Sunday at 23:00 hr
|
||||
.It Ar $W5D16
|
||||
rotate every week on Friday at 16:00 hr
|
||||
.It Ar $MLD0
|
||||
rotate at the last day of every month at midnight
|
||||
.It Ar $M1D0
|
||||
rotate at the first day of every month at midnight
|
||||
(i.e., the start of the day)
|
||||
.It Ar $M5D6
|
||||
rotate on every 5th day of month at 6:00 hr
|
||||
.El
|
||||
|
Loading…
Reference in New Issue
Block a user