{"repo":"Squarebow/Cloudflare-Worker-for-Wordpress-Cron","free":true,"listed":false,"github":"https://github.com/Squarebow/Cloudflare-Worker-for-Wordpress-Cron","clone":"git clone https://github.com/Squarebow/Cloudflare-Worker-for-Wordpress-Cron.git","description":"A simple serverless script to offload wp-cron.php to Cloudflare","language":"JavaScript","stars":21,"topics":["cloudflare","cloudflare-workers","cron","js","wordpress","worker"],"license":"GPL-3.0","category":"auth-billing-email","readme_excerpt":"Cloudflare Worker for WordPress Cron Trigger wp-cron.php for one or more WordPress sites from a single Cloudflare Worker, with per-site authentication, KV status tracking, and a built-in monitoring dashboard. Made for Cloudflare FREE tier with no dependency on the target site's hosting provider or infrastructure. --- Table of Contents - Overview - Why offload WordPress cron to a Worker? - Performance and server load - Hosting compatibility - How it works - Cloudflare free tier usage - Setup - KV status tracking - Testing - Securing wp-cron.php on your server - Troubleshooting - Notes and limitations --- Overview WordPress has a built-in task scheduler called WP-Cron . By default it runs on every page load, which wastes server resources and is unreliable on low-traffic sites. The standard solution is to disable the built-in scheduler and trigger wp-cron.php from an external source on a fixed schedule. This Worker does exactly that. It runs on Cloudflare's network on a timed schedule (a Cron Trigger ), loops through your list of WordPress sites, and sends an authenticated HTTP request to wp-cron.php on each one — all without touching your web server's own cron daemon. It works equally well for a single site or many. You configure a JSON array with one entry or twenty; the Worker handles both identically. Note: \"Multiple sites\" here means multiple independent WordPress installations. This is not related to WordPress Multisite (WordPress's built-in network feature for running sub","default_branch":null,"files":null,"tree":[],"storefront":"/r/Squarebow","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Squarebow/Cloudflare-Worker-for-Wordpress-Cron/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."}