All Sites Cron #5 in Multisite & Networks
Run wp-cron on all public sites in a multisite network
by Per Soderlind · github.com/soderlind/all-sites-cron · website
★ 7stars
51release downloads
675composer installs
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/soderlind/all-sites-cron/releases/download/2.2.1/all-sites-cron.zipAlso on Packagist as soderlind/dss-cron:
composer require soderlind/dss-cronFrom the readme
All Sites Cron
Run wp-cron on all public sites in a multisite network (REST API based).
"You could have done this with a simple cron job. Why use this plugin?"
I have a cluster of WordPress sites. I did run a shell script calling wp cli, but the race condition was a problem. I needed a way to run wp-cron on all sites without overlapping. This plugin was created to solve that problem.
🚀 Quick Start
1. Download all-sites-cron.zip
2. Upload via Network Plugins Add New Upload Plugin
3. Network Activate the plugin.
4. Disable WordPress default cron in wp-config.php:
Also available via Composer:
Updates
Plugin updates are handled automatically via GitHub. No need to manually download and install updates.
🏗 Architecture (v2.0.0)
The plugin is organised as a thin orchestrator (all-sites-cron.php) backed by five focused classes under src/:
| Class | Responsibility |
|-------|---------------|
| Lock | Atomic execution lock (wpcacheadd / INSERT IGNORE) |
| RedisQueue | Redis job queue with connection lifecycle and retry tracking |
| CronRunner | Batched getsites() iteration and fire-and-forget wpremotepost |
| Auth | Optional shared-secret authentication (Bearer heade
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 2.2.1 | Jul 23, 2026 | all-sites-cron.zip | 27 |
| 2.2.0 | Jul 23, 2026 | all-sites-cron.zip | 0 |
| 2.1.0 | Mar 6, 2026 | all-sites-cron.zip | 22 |
| 2.0.0 | Mar 3, 2026 | all-sites-cron.zip | 0 |
| 1.5.2 | Oct 1, 2025 | all-sites-cron.zip | 0 |
| 1.5.1 | Oct 1, 2025 | all-sites-cron.zip | 0 |
| 1.5.0 | Oct 1, 2025 | all-sites-cron.zip | 0 |
| 1.4.1 | Sep 30, 2025 | all-sites-cron.zip | 0 |
| 1.4.0 | Sep 30, 2025 | all-sites-cron.zip | 0 |
| 1.3.2 | Sep 30, 2025 | all-sites-cron.zip | 0 |
| 1.3.1 | Sep 30, 2025 | all-sites-cron.zip | 0 |
| 1.3.0 | Sep 30, 2025 | all-sites-cron.zip | 2 |
| 1.2.0 | Sep 30, 2025 | — | — |
| 1.1.0 | Sep 2, 2025 | — | — |
| 1.0.12 | Nov 22, 2024 | — | — |
| 1.0.11 | Nov 21, 2024 | — | — |
| 1.0.10 | Nov 20, 2024 | — | — |
| 1.0.9 | Nov 20, 2024 | — | — |
| 1.0.8 | Nov 20, 2024 | — | — |
| 1.0.7 | Nov 20, 2024 | — | — |
| 1.0.6 | Nov 20, 2024 | — | — |
| 1.0.5 | Nov 20, 2024 | — | — |
| 1.0.4 | Nov 20, 2024 | — | — |
| 1.0.2 | Nov 19, 2024 | — | — |
| 1.0.1 | Nov 19, 2024 | — | — |