From 5a7c7bcbb68e5f582b58935720cf29d612ccf4eb Mon Sep 17 00:00:00 2001 From: dd Date: Thu, 19 Jul 2001 11:18:42 +0000 Subject: 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 --- usr.sbin/newsyslog/newsyslog.8 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/newsyslog/newsyslog.8') diff --git a/usr.sbin/newsyslog/newsyslog.8 b/usr.sbin/newsyslog/newsyslog.8 index a9798c7..0e96695 100644 --- a/usr.sbin/newsyslog/newsyslog.8 +++ b/usr.sbin/newsyslog/newsyslog.8 @@ -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 -- cgit v1.1