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.

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.

Rate this article

You are not allowed to rate this post.

Leave a Comment