Skip to content

Advanced Queue Setup In CLI mode

Kyle Hungate edited this page Feb 22, 2019 · 9 revisions

To optimize the performance of your Mailchimp integration we recommended running the queue in CLI mode. First define a constant in your config file define('DISABLE_WP_HTTP_WORKER', true); You have 2 options to run this process:

  1. On a cron schedule every minute: * * * * * /usr/bin/wp --url=http://yourdomain.com --path=/full/path/to/install/ queue listen
  2. Using a process manager like Monit or Supervisord: /usr/bin/wp --url=http://yourdomain.com --path=/full/path/to/install/ queue listen
Clone this wiki locally