Run DMARC report update every day.

This commit is contained in:
Jim Hague 2024-08-22 15:19:23 +01:00
parent b0aa95a3a9
commit 8e8be54959
2 changed files with 14 additions and 0 deletions

View File

@ -29,3 +29,13 @@ dmarcts:
- user: dmarc - user: dmarc
- group: dmarc - group: dmarc
- mode: 600 - mode: 600
/home/dmarc/run-dmarcts:
file.managed:
- source: salt://dmarc_reports/run-dmarcts
- user: dmarc
- group: dmarc
- mode: 0755
cron.present:
- user: dmarc
- special: '@hourly'

View File

@ -0,0 +1,4 @@
#!/bin/sh
cd /home/dmarc
exec dmarcts-report-parser -i