Daily Spamreport Calendar

dennis_81

Member
Sep 27, 2021
13
1
8
42
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!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!