Replies: 5 comments 2 replies
-
Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Awesome ! |
Beta Was this translation helpful? Give feedback.
0 replies
-
I implemented this with systemd. Instead of the crontab entries, I added the following two files and enabled the timer.
|
Beta Was this translation helpful? Give feedback.
2 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is how to enable and configure the previewgenerator app.
sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ preview:generate-all
to start the initial preview generation. Only continue after this step is donesudo crontab -u root -e
(and choose your editor of choice if not already done. I'd recommend nano)*/10 * * * * docker ps --format "{{.Names}}" | grep -q "^nextcloud-aio-nextcloud$" && docker exec --user www-data nextcloud-aio-nextcloud php occ preview:pre-generate
which will run the command every 10 minutes.Ctrl + o
->Enter
and close the editor withCtrl + x
)I hope it helps!
Beta Was this translation helpful? Give feedback.
All reactions