dd32 / wpcli-cron-concurrent
Runs WordPress cron tasks concurrently via wp-cli.
Package info
github.com/dd32/wpcli-cron-concurrent
Type:wp-cli-package
pkg:composer/dd32/wpcli-cron-concurrent
1.0.1
2026-02-24 08:27 UTC
Requires
- wp-cli/wp-cli: ^2.0
This package is auto-updated.
Last update: 2026-04-24 08:54:00 UTC
README
A WP-CLI package that runs WordPress cron tasks concurrently instead of sequentially.
By default, wp cron event run --all processes each task one at a time. This package spawns parallel subprocesses so multiple cron hooks execute simultaneously, with a live progress display showing each task's status and output.
Installation
wp package install dd32/wpcli-cron-concurrent
Usage
# Run all pending cron tasks concurrently (default: 5 at a time) wp cron-concurrent run # Run only hooks matching a substring wp cron-concurrent run --filter=woocommerce # Limit to 3 concurrent tasks wp cron-concurrent run --concurrent=3
Options
| Option | Description | Default |
|---|---|---|
--filter=<string> |
Only run hooks whose name contains this string | (all hooks) |
--concurrent=<n> |
Maximum number of tasks to run at the same time | 5 |
Development
Requires Node.js (for wp-env) and Docker.
npm install
npm run env:start
npm test
npm run env:stop