Posted on Leave a comment

Using WP-CLI to Troubleshoot WP Cron Job Issues on a Child Site

Troubleshoot WP Cron Job Issues

Sometimes you will run into issues on your child sites which are being caused by active cron jobs. Cron jobs are recurring tasks that need to be run on a site. Most of the time, cron jobs are created by the active plugins (e.g., these cron events all running due to WooCommerce): woocommerce_cancel_unpaid_orders woocommerce_cleanup_sessions woocommerce_cleanup_personal_data…

Read more

Posted on Leave a comment

Why Use the wp profile WP-CLI Command?

wp profile - WP CLI Command

What is the wp profile Command in WP-CLI? wp profile command is designed for finding where and what is slowing a site down. As with any performance benchmarking, multiple runs will need to be used. Start by running the common commands for wp profile multiple times. This will help you find what is causing WordPress…

Read more

Posted on Leave a comment

WP-CLI wp doctor Command Why it Might Really Help Your Sites

WP-CLI - wp doctor

What is the wp doctor command in WP-CLI? wp doctor lets you easily run a series of configurable checks to diagnose what’s ailing with WordPress. Without wp doctor, your team has to rely on their memory to manually debug problems. With wp doctor, your team saves hours identifying the health of your WordPress installs by…

Read more

Posted on 1 Comment

What is the WP-CLI and why should I use it?

WP-CLI

What is the WP-CLI? The WP-CLI is a way of doing anything that you would be able to do in the back-end of a WordPress site in wp-admin, but using command lines. A number of hosts have WP-CLI installed on new servers. One great example is on Cloudways. Common WP-CLI commands If a client site…

Read more