From c5bc4aaebf80ffdb5b30941f8bdb25c5b89a5958 Mon Sep 17 00:00:00 2001 From: Suresh Alse Date: Mon, 4 Apr 2022 17:54:16 -0700 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b186db6..f08c811 100644 --- a/README.md +++ b/README.md @@ -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