Daily Spamreport Calendar

dennis_81

Member
Sep 27, 2021
13
1
8
44
Hi, we want the email recipients to get the spam reports daily at 08am and at 4pm.

We have used systemctl edit pmgspamreport.timer to modify the config file as described to:

Code:
[Timer]

OnCalendar=8,16:00

Persistent=false

However, we still get another report every night at 00:05.
Where is this configured and how can we disable it?

Thanks and best regards
 
from the systemd.timer(5) manpage:
OnCalendar=
...snip...
May be specified more than once, in which case the timer unit will trigger whenever any of the specified expressions elapse. Moreover calendar timers and monotonic timers (see above) may be combined within the same timer unit.

meaning you just added other two times when this should run - try:
Code:
[Timer]
OnCalendar=
OnCalendar=8,16:00

I hope this helps!