Skip to content

Commit

Permalink
Merge branch '5.x' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
RCheesley authored Jun 13, 2024
2 parents fcee2a7 + d2ff4c0 commit 71c34e5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/configuration/cron_jobs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,15 @@ If the Mautic configuration settings include Webhook batch processing, use the f
php /path/to/mautic/bin/console mautic:webhooks:process
Since Mautic 5.1 it's also possible to run the Webhooks cron job in 'range mode'. This allows you to specify a range of Webhook events to process in a single run. This can be useful if you have a large number of Webhook events to process and want to avoid running out of memory.

To use this mode, you can specify the ``--min-id`` and ``--max-id`` options. For example, to process events for a Webhook with ID of 5, you can specify to only process the events for that Webhook with IDs between 1000 and 2000 using the following command:

.. code-block:: bash
bin/console mautic:webhooks:process --webhook-id=5 --min-id=1000 --max-id=2000
.. _cron jobs:

.. vale off
Expand Down

0 comments on commit 71c34e5

Please sign in to comment.