mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-01 16:45:15 +02:00
add hint for system cron file
parent
9a8135933e
commit
bfd2507a49
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ If you run the server with docker-compose, you can leverage on docker configs an
|
||||||
|
|
||||||
The following config works nicely:
|
The following config works nicely:
|
||||||
|
|
||||||
create a crontab file:
|
create a system cron file:
|
||||||
```sh
|
```sh
|
||||||
# in the docker-compose.yml root directory
|
# in the docker-compose.yml root directory
|
||||||
mkdir cron
|
mkdir cron
|
||||||
|
@ -81,7 +81,7 @@ chown root:root cron/sa-learn
|
||||||
chmod 0644 cron/sa-learn
|
chmod 0644 cron/sa-learn
|
||||||
```
|
```
|
||||||
|
|
||||||
edit the crontab file `nano cron/sa-learn`:
|
edit the system cron file `nano cron/sa-learn`:
|
||||||
```
|
```
|
||||||
# This assumes you're having `environment: ONE_DIR=1` in the docker-compose.yml,
|
# This assumes you're having `environment: ONE_DIR=1` in the docker-compose.yml,
|
||||||
# with a consolidated config in `/var/mail-state`
|
# with a consolidated config in `/var/mail-state`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue