Run DMARC report update every day.
This commit is contained in:
parent
b0aa95a3a9
commit
8e8be54959
|
@ -29,3 +29,13 @@ dmarcts:
|
|||
- user: dmarc
|
||||
- group: dmarc
|
||||
- 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'
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd /home/dmarc
|
||||
exec dmarcts-report-parser -i
|
Loading…
Reference in New Issue