From: Arthur Bied-Charreton <a.bied-charreton@proxmox.com>
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 [thread overview]
Message-ID: <20260723114258.316106-1-a.bied-charreton@proxmox.com> (raw)
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 <a.bied-charreton@proxmox.com>
---
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
reply other threads:[~2026-07-23 11:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260723114258.316106-1-a.bied-charreton@proxmox.com \
--to=a.bied-charreton@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.