{"repo":"Automattic/Cron-Control","free":true,"listed":false,"github":"https://github.com/Automattic/Cron-Control","clone":"git clone https://github.com/Automattic/Cron-Control.git","description":"A fresh take on running WordPress's cron system, allowing parallel processing","language":"PHP","stars":134,"topics":["wordpress","wordpress-plugin","wpvip-plugin"],"license":"GPL-2.0","category":"cli-tools","readme_excerpt":"Cron Control # Contributors: automattic, ethitter Tags: cron, cron control, concurrency, parallel, async Requires at least: 5.1 Tested up to: 5.8 Requires PHP: 7.4 Stable tag: 3.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Execute WordPress cron events in parallel, with custom event storage for high-volume cron. Description ## This plugin sets up a custom cron table for better events storage. Using WP hooks, it then intercepts cron registration/retrieval/deletions. There are two additional interaction layers exposed by the plugin - WP-CLI and the REST API. By default the plugin disables default WP cron processing. It is recommended to use the cron control runner to process cron: https://github.com/Automattic/cron-control-runner. This is how we are able to process cron events in parallel, allowing for high-volume and reliable cron. Installation ## 1. Define WP CRON CONTROL SECRET in wp-config.php , set to false to disable the REST API interface. 1. Upload the cron-control directory to the /wp-content/mu-plugins/ directory 1. Create a file at /wp-content/mu-plugins/cron-control.php to load /wp-content/mu-plugins/cron-control/cron-control.php 1. (optional) Set up the the cron control runner for event processing. Frequently Asked Questions ## Deviations from WordPress Core ### Cron jobs are stored in a custom table and not in the cron option in wp options. As long relevant code uses WP core functions for retrieving events and not direct SQL, all","default_branch":null,"files":null,"tree":[],"storefront":"/r/Automattic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Automattic/Cron-Control/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}