diff --git a/admin_manual/webhook_listeners/index.rst b/admin_manual/webhook_listeners/index.rst index 0a849b0e604..22def37e0b0 100644 --- a/admin_manual/webhook_listeners/index.rst +++ b/admin_manual/webhook_listeners/index.rst @@ -157,7 +157,7 @@ For Nextcloud-AIO you should use this command on the host server. .. code-block:: - set -e; while true; do sudo docker exec -it nextcloud-aio-nextcloud docker exec -it nextcloud-aio-nextcloud sudo -E -u www-data php occ background-job:worker -v -t 60 "OCA\WebhookListeners\BackgroundJobs\WebhookCall"; done +set -e; while true; do sudo docker exec -u www-data nextcloud-aio-nextcloud php occ background-job:worker -v -t 60 "OCA\\WebhookListeners\\BackgroundJobs\\WebhookCall"; done You may want to adjust the number of workers and the timeout (in seconds) to your needs. The logs of the worker can be checked by attaching to the screen or tmux session.