all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pmg-devel] [PATCH pmg-docs] pmgqm: add example for systemd.timer edit
@ 2022-12-13 11:45 Stoiko Ivanov
  2022-12-30 14:25 ` [pmg-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Stoiko Ivanov @ 2022-12-13 11:45 UTC (permalink / raw)
  To: pmg-devel

The resetting of OnCalendar can be a bit confusing for users, who are
not familiar with the intricacies of systemd overrides.
Add a simple example to address a common use-case, and point to the
relevant man pages for more details.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
 pmgqm.adoc | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/pmgqm.adoc b/pmgqm.adoc
index 046c91e..2a73d9f 100644
--- a/pmgqm.adoc
+++ b/pmgqm.adoc
@@ -44,6 +44,18 @@ The timer can be edited with the command below:
 systemctl edit pmgspamreport.timer
 ----
 
+Keep in mind that just adding another `OnCalendar` event will cause the report
+to be sent out additionally at the specified time, if you want to prevent the
+default mail at 00:05, you need to reset the `OnCalendar` setting - for example
+to only send out the mails at 06:00:
+----
+[Timer]
+OnCalendar=
+OnCalendar=06:00
+----
+
+For details see the systemd man pages: `systemd.unit(5)`, `systemd.timer(5)`.
+
 ifdef::manvolnum[]
 include::pmg-copyright.adoc[]
 endif::manvolnum[]
-- 
2.30.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pmg-devel] applied: [PATCH pmg-docs] pmgqm: add example for systemd.timer edit
  2022-12-13 11:45 [pmg-devel] [PATCH pmg-docs] pmgqm: add example for systemd.timer edit Stoiko Ivanov
@ 2022-12-30 14:25 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2022-12-30 14:25 UTC (permalink / raw)
  To: Stoiko Ivanov, pmg-devel

Am 13/12/2022 um 12:45 schrieb Stoiko Ivanov:
> The resetting of OnCalendar can be a bit confusing for users, who are
> not familiar with the intricacies of systemd overrides.
> Add a simple example to address a common use-case, and point to the
> relevant man pages for more details.
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
> ---
>  pmgqm.adoc | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
>

applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-30 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13 11:45 [pmg-devel] [PATCH pmg-docs] pmgqm: add example for systemd.timer edit Stoiko Ivanov
2022-12-30 14:25 ` [pmg-devel] applied: " Thomas Lamprecht

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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal