Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion admin_manual/webhook_listeners/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,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 -i nextcloud-aio-nextcloud php occ background-job:worker -v -t 60 "OCA\\WebhookListeners\\BackgroundJobs\\WebhookCall"; done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
set -e; while true; do sudo docker exec -u www-data -i nextcloud-aio-nextcloud 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.
Expand Down