Chenge the spam report time

koby

Renowned Member
Jun 21, 2012
138
4
83
Natanya , Israel
Hello Guys ,
I would like to change the spam report timer from 00:05 as the current default to 08:30.
I manage to do this by setting the time on the "pmgspamreport.time"
I change the "OnCalendar=08:30"
BUT , if I ran "systemctl restart pmgproxy" because any reason, It is reverting back to default which is "00:05"
Any advice please,

Best Regards ,
Koby Peleg Hen
 
do not edit the timer directly, use 'systemctl edit pmgspamreport.timer' this creates an override that should survive package upgrades/restarts
 
  • Like
Reactions: Stoiko Ivanov
Hello all
It does created an override file and put it on "/etc/systemd/system/pmgspamreport.timer.d"
I did reload all the systems one more.
I think It will be fine now.
Thank you all for solving this.

Best regards ,
Koby Peleg Hen