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
734109808b
commit
5a7c7bcbb6
@ -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…
x
Reference in New Issue
Block a user