From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 569721FF0E0 for ; Thu, 23 Jul 2026 13:43:34 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id ADB5E21466; Thu, 23 Jul 2026 13:43:33 +0200 (CEST) From: Arthur Bied-Charreton To: pve-devel@lists.proxmox.com Subject: [PATCH pve-docs] notifications: fix broken calendar match examples Date: Thu, 23 Jul 2026 13:42:58 +0200 Message-ID: <20260723114258.316106-1-a.bied-charreton@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 2 DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RDNS_NONE 1.274 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record Message-ID-Hash: 54I4CGEHEMTGOG4QYMY5ROB5RAVBDYFC X-Message-ID-Hash: 54I4CGEHEMTGOG4QYMY5ROB5RAVBDYFC X-MailFrom: abied-charreton@jett.proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The calendar matcher examples showed weekday ranges as start-end. The correct syntax is start..end - these example configs do not parse. Update the examples to the correct a..b range syntax. Signed-off-by: Arthur Bied-Charreton --- notifications.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/notifications.adoc b/notifications.adoc index ea8fc75..1eeec3b 100644 --- a/notifications.adoc +++ b/notifications.adoc @@ -319,8 +319,8 @@ configurable schedule. * `match-calendar 8-12` * `match-calendar 8:00-15:30` -* `match-calendar mon-fri 9:00-17:00` -* `match-calendar sun,tue-wed,fri 9-17` +* `match-calendar mon..fri 9:00-17:00` +* `match-calendar sun,tue..wed,fri 9-17` [[notification_matchers_field]] Field Matching Rules @@ -359,12 +359,12 @@ Examples ~~~~~~~~ ---- matcher: workday - match-calendar mon-fri 9-17 + match-calendar mon..fri 9-17 target admin comment Notify admins during working hours matcher: night-and-weekend - match-calendar mon-fri 9-17 + match-calendar mon..fri 9-17 invert-match true target on-call-admins comment Separate target for non-working hours -- 2.47.3