public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH docs] calendar-events: add a note about `systemd-analyze calendar`
@ 2025-04-14 10:29 Shannon Sterz
  0 siblings, 0 replies; only message in thread
From: Shannon Sterz @ 2025-04-14 10:29 UTC (permalink / raw)
  To: pve-devel

this is mentioned in the `systemd.time(7)` manpage, but adding it here
to should give it more exposure. it's very handy and hopefully avoids
some frustration for users less familiar with calendar events.

Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
 calendar-events.adoc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/calendar-events.adoc b/calendar-events.adoc
index 4112f1e..f46f589 100644
--- a/calendar-events.adoc
+++ b/calendar-events.adoc
@@ -58,6 +58,11 @@ First are hours, then minutes. Hours can be omitted if not needed. In this
 case `'*'` is assumed for the value of hours.
 The valid range for values is `0-23` for hours and `0-59` for minutes.
 
+NOTE: You can use `systemd-analyze calendar` to see whether a given calendar
+event specification is valid and when it would be triggered next. By passing the
+`--iterations=<N>` flag you can also let it output the next `<N>` times the
+calendar event would trigger (you need to replace `<N>` with a valid integer).
+
 [[pvesr_schedule_format_examples]]
 Examples:
 ~~~~~~~~~
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-14 10:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-14 10:29 [pve-devel] [PATCH docs] calendar-events: add a note about `systemd-analyze calendar` Shannon Sterz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal