List all CRON jobs with WP-CLI

SweepPress has a CLI command registered with WP-CLI, with several subcommands for cleanup. But, that command has one additional command available with the Pro version of the plugin for listing all the CRON jobs registered in WordPress CRON.

To get more information about the WP-CLI cleanup with SweepPress, check out this article.

Make sure that WP-CLI support is enabled from plugin settings. And, check the previous article to get more information about installing and using WP-CLI, if you are not using it already.

When you open command line, to get the list of all CRON jobs registered with WP CRON, use this command sequence:

wp sweeppress crons

The results are return as a table.

WP-CLI: List of CRON jobs

Rate this article
0
0
13

You are not allowed to rate this post.

Leave a Comment