From f49b1edcaa258dae458a00d55b0cc596090c601d Mon Sep 17 00:00:00 2001
From: Adam Monsen <haircut@gmail.com>
Date: Wed, 8 Feb 2023 06:58:59 -0800
Subject: [PATCH] add note about running non-root with cron (#1901)

Signed-off-by: Adam Monsen <haircut@gmail.com>
---
 .examples/README.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.examples/README.md b/.examples/README.md
index 6358bc34..b505b3ac 100644
--- a/.examples/README.md
+++ b/.examples/README.md
@@ -18,6 +18,9 @@ Example | Description
 [smb](https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles/smb) | adds dependencies required to use smb shares
 [full](https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles/full) | adds dependencies for ALL optional packages and cron functionality via supervisor (as in the `cron` example Dockerfile).
 
+### cron
+NOTE: [this container must run as root or `cron.php` will not run](https://github.com/nextcloud/docker/issues/1899).
+
 ### full
 The `full` Dockerfile example adds dependencies for all optional packages suggested by nextcloud that may be needed for some features (e.g. Video Preview Generation), as stated in the [Administration Manual](https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html).
 
-- 
GitLab