Releases: Ultimate-Multisite/the-perfect-wp-cron
Releases · Ultimate-Multisite/the-perfect-wp-cron
Release list
v1.0.2
v1.0.1 Rename
v1.0.0
WP Queue Worker v1.0.0
Event-loop job queue for WordPress. Executes WP Cron and Action Scheduler jobs at their exact scheduled time with zero polling, powered by Workerman.
Features
- Precise scheduling: Jobs fire at exact timestamps via Workerman's event loop — no cron polling
- Multisite support: Scans all network sites, executes jobs in isolated per-site subprocesses
- Action Scheduler bridge: Takes over AS job execution for millisecond-precision scheduling
- WP Cron interception: Intercepts
wp_schedule_eventand dispatches to the worker instantly - Batch execution: Groups jobs by site for efficient subprocess reuse
- Admin dashboard: Real-time worker status, per-site resource usage, job history table, log viewer
- WP-CLI commands:
wp queue status,wp queue populate,wp queue restart - Configurable: All settings via PHP constants or environment variables
- Auto-restart: Memory and uptime watchdog for systemd-managed deployments
Architecture
- OOP codebase: 12 PHP classes with Composer classmap autoloading
- Two Composer contexts: Plugin root (WordPress classes) +
bin/(Workerman dependency) - Thin CLI bootstraps:
bin/worker.php(~80 lines) andbin/execute-job.php(~90 lines) - Build system: npm scripts for CSS/JS minification + distribution archive
Requirements
- PHP 8.1+
- WordPress multisite (or single site)
- Composer
proc_openandpcntlPHP extensions (for subprocess execution and per-job timeouts)
Installation
Composer (recommended):
composer require ultimate-multisite/wp-queue-worker
cd wp-content/plugins/wp-queue-worker/bin && composer installManual:
Download the release zip and extract to wp-content/plugins/.