-
Notifications
You must be signed in to change notification settings - Fork 71
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:
- On a cron schedule every minute:
* * * * * /usr/bin/wp --url=http://yourdomain.com --path=/full/path/to/install/ queue listen
- Using a process manager like Monit or Supervisord:
/usr/bin/wp --url=http://yourdomain.com --path=/full/path/to/install/ queue listen