Update README.md
parent
be663e478d
commit
c5bc4aaebf
|
@ -88,6 +88,12 @@ mkdir -p crontabs/logs
|
|||
docker run --mount type=bind,source="$(pwd)"/crontabs/,target=/crontab-ui/crontabs/ -d -p 8000:8000 alseambusher/crontab-ui
|
||||
```
|
||||
|
||||
If you are looking to modify the host's crontab, you would have to mount the crontab folder of your host to that of the container.
|
||||
```bash
|
||||
# On Ubuntu, it can look something like this and /etc/cron.d/root is used
|
||||
docker run -d -p 8000:8000 -v /etc/cron.d:/etc/crontabs alseambusher/crontab-ui
|
||||
```
|
||||
|
||||
|
||||
## Resources
|
||||
|
||||
|
|
Loading…
Reference in New Issue