Merge pull request #423 from jonasc/patch-1
Fix missing `*` in crontab example
Dieser Commit ist enthalten in:
Commit
8f54e5ac52
1 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
|
@ -10,7 +10,7 @@ It is also possible to create a daily pflogsumm report via cron. Create the /etc
|
||||||
|
|
||||||
```
|
```
|
||||||
SHELL=/bin/bash
|
SHELL=/bin/bash
|
||||||
59 23 * * root docker logs --since 24h $(docker ps -qf name=postfix-mailcow) | /usr/sbin/pflogsumm -d today | mail -s "Postfix Report of $(date)" postmaster@example.net
|
59 23 * * * root docker logs --since 24h $(docker ps -qf name=postfix-mailcow) | /usr/sbin/pflogsumm -d today | mail -s "Postfix Report of $(date)" postmaster@example.net
|
||||||
```
|
```
|
||||||
|
|
||||||
To work, a local postfix must be installed on the server, which relays to the mailcow postfix.
|
To work, a local postfix must be installed on the server, which relays to the mailcow postfix.
|
||||||
|
@ -18,5 +18,3 @@ To work, a local postfix must be installed on the server, which relays to the ma
|
||||||
More detailed information can be found in section [Post installation tasks -> Local MTA on Dockerhost](https://mailcow.github.io/mailcow-dockerized-docs/post_installation/firststeps-local_mta/).
|
More detailed information can be found in section [Post installation tasks -> Local MTA on Dockerhost](https://mailcow.github.io/mailcow-dockerized-docs/post_installation/firststeps-local_mta/).
|
||||||
|
|
||||||
Based on the postfix logs of the last 24 hours, this example then sends a pflogsumm report to postmaster@example.net every day at 23:59:00.
|
Based on the postfix logs of the last 24 hours, this example then sends a pflogsumm report to postmaster@example.net every day at 23:59:00.
|
||||||
|
|
||||||
Translated with www.DeepL.com/Translator (free version)
|
|
Laden …
In neuem Issue referenzieren