-
In response to #2810 @szaimen I think in the following command, the cron user is missing: */10 * * * * docker ps --format "{{.Names}}" | grep -q "^nextcloud-aio-nextcloud$" && docker exec --user www-data nextcloud-aio-nextcloud php occ preview:pre-generate should be */10 * * * * root docker ps --format "{{.Names}}" | grep -q "^nextcloud-aio-nextcloud$" && docker exec --user www-data nextcloud-aio-nextcloud php occ preview:pre-generate |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, since we recommend to use this command in the guide: |
Beta Was this translation helpful? Give feedback.
Hi, since we recommend to use this command in the guide:
sudo crontab -u root -e
, I don't think the user is needed here