dd32/wpcli-cron-concurrent
最新稳定版本:1.0.1
Composer 安装命令:
composer require dd32/wpcli-cron-concurrent
包简介
Runs WordPress cron tasks concurrently via wp-cli.
关键字:
README 文档
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
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-24