summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b07f0da)
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>
systemctl edit pmgspamreport.timer
----
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[]
ifdef::manvolnum[]
include::pmg-copyright.adoc[]
endif::manvolnum[]