From ba2975649aad5de50d1322c135550d8532d8358d Mon Sep 17 00:00:00 2001 From: Adam Tack Date: Mon, 11 Feb 2019 09:31:56 +0100 Subject: doc: Fix “Every second Sunday” example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * doc/mcron.texi (Every second Sunday): If the first day of the month is Sunday, then the second Sunday of the month is seven days later not eight. --- doc/mcron.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/mcron.texi b/doc/mcron.texi index f408e11..c124bc8 100644 --- a/doc/mcron.texi +++ b/doc/mcron.texi @@ -434,7 +434,7 @@ the student to understand how this works!). (let* ((next-month (next-month-from current-time)) (first-day (tm:wday (localtime next-month))) (second-sunday (if (eqv? first-day 0) - 8 + 7 (- 14 first-day)))) (+ next-month (* 24 60 60 second-sunday)))) "my-program") -- cgit v1.2.3