Skip to content

A free, self-hostable news aggregator…

Docker: use double quotes for CRON_MIN examples (#9011)

Gerard Alvear Porrascf298e2680ee
diff --git a/Docker/README.md b/Docker/README.md
index 01152e1b3..6d1860bcf 100644
--- a/Docker/README.md
+++ b/Docker/README.md
@@ -32,7 +32,7 @@ Example running FreshRSS (or scroll down to the [Docker Compose](#docker-compose
docker run -d --restart unless-stopped --log-opt max-size=10m \
-p 8080:80 \
-e TZ=Europe/Paris \
- -e 'CRON_MIN=1,31' \
+ -e CRON_MIN=1,31 \
-v freshrss_data:/var/www/FreshRSS/data \
-v freshrss_extensions:/var/www/FreshRSS/extensions \
--name freshrss \
@@ -142,7 +142,7 @@ docker run --rm \
-p 8080:80 \
-e FRESHRSS_ENV=development \
-e TZ=Europe/Paris \
- -e 'CRON_MIN=1,31' \
+ -e CRON_MIN=1,31 \
-v $(pwd):/var/www/FreshRSS \
-v freshrss_data:/var/www/FreshRSS/data \
--name freshrss \
@@ -608,12 +608,12 @@ There are no less than 3 options. Pick a single one.
Easiest, built-in solution, also used already in the examples above
(but your Docker instance will have a second process in the background, without monitoring).
Just pass the environment variable `CRON_MIN` to your `docker run` command,
-containing a valid cron minute definition such as `'13,43'` (recommended) or `'*/20'`.
+containing a valid cron minute definition such as `13,43` (recommended) or `*/20`.
Not passing the `CRON_MIN` environment variable – or setting it to empty string – will disable the cron daemon.
```sh
docker run ... \
- -e 'CRON_MIN=13,43' \
+ -e CRON_MIN=13,43 \
--name freshrss freshrss/freshrss
```
@@ -641,7 +641,7 @@ See cron option 1 for customising the cron schedule.
docker run -d --restart unless-stopped --log-opt max-size=10m \
-v freshrss_data:/var/www/FreshRSS/data \
-v freshrss_extensions:/var/www/FreshRSS/extensions \
- -e 'CRON_MIN=17,47' \
+ -e CRON_MIN=17,47 \
--net freshrss-network \
--name freshrss_cron freshrss/freshrss \
cron -f
@@ -667,7 +667,7 @@ docker run -d --restart unless-stopped --log-opt max-size=10m \
docker run -d --restart unless-stopped --log-opt max-size=10m \
-v freshrss_data:/var/www/FreshRSS/data \
-v freshrss_extensions:/var/www/FreshRSS/extensions \
- -e 'CRON_MIN=27,57' \
+ -e CRON_MIN=27,57 \
--net freshrss-network \
--name freshrss_cron freshrss/freshrss:alpine \
crond -f -d 6
diff --git a/docs/en/admins/08_FeedUpdates.md b/docs/en/admins/08_FeedUpdates.md
index 4865e0b36..db4ef2857 100644
--- a/docs/en/admins/08_FeedUpdates.md
+++ b/docs/en/admins/08_FeedUpdates.md
@@ -13,12 +13,12 @@ FreshRSS is updated by the `./app/actualize_script.php` script. Knowing this, we
Easiest, built-in solution, also used already in the examples above
(but your Docker instance will have a second process in the background, without monitoring).
Just pass the environment variable `CRON_MIN` to your `docker run` command,
-containing a valid cron minute definition such as `'13,43'` (recommended) or `'*/20'`.
+containing a valid cron minute definition such as `13,43` (recommended) or `*/20`.
Not passing the `CRON_MIN` environment variable – or setting it to empty string – will disable the cron daemon.
```sh
docker run ... \
- -e 'CRON_MIN=13,43' \
+ -e CRON_MIN=13,43 \
--name freshrss freshrss/freshrss
```