Running Scheduled Workloads on Renewable Energy
Sustainability efforts are often framed as a trade-off: move fast or act responsibly. Cloudflare aims to remove that choice for developers by offering a way to run scheduled workloads on infrastructure that is powered entirely by renewable energy, without requiring code changes or added operational complexity. The new capability, called Green Compute, is available for Workers configured with Cron Triggers.
When enabled, Green Compute directs eligible cron-triggered Workers exclusively to edge facilities that run on renewable energy. While Cloudflare's entire edge network is already backed by renewable energy, some data centers operate within third-party facilities that draw from mixed energy sources. Green Compute goes a step further by requiring that both the network equipment and the hosting facility itself operate on renewable power. The service targets scheduled jobs—from updating a leaderboard every few minutes to running compute-intensive tasks like DNA sequencing on the edge—without any modifications to application code.
Why Cron Triggers Are a Natural Fit
Cron Triggers let developers invoke Workers on a recurring schedule using standard cron syntax, configured either through wrangler or the Workers Dashboard. Unlike HTTP-triggered Workers, which respond to user requests in real time, scheduled jobs have no end user waiting for a response. This removes the requirement to place workloads close to the user base, making them ideal candidates to run exclusively on sustainable hardware, even if that hardware is geographically distant.
Cloudflare's network operates as a single distributed system without logically isolated regions. Because all parts of the network are connected, secured, and trusted as one system, workloads can be shifted across the globe automatically. This architecture allows Green Compute to route scheduled jobs to green energy hardware without any additional management burden for the developer.
Setting up a Cron Trigger with Green Compute enabled is straightforward: the network automatically handles routing of scheduled jobs to green energy sources. Developers interested in the beta can sign up via Cloudflare's Green Compute page.

Common Uses for Scheduled Compute
Scheduled jobs underpin many real-world applications. Developers regularly write cron-triggered Workers to handle background maintenance tasks, including:
- Monitoring service availability and alerting on downtime, running as frequently as every minute.
- Keeping databases and search indexes in sync by polling for new data, transforming it, and inserting it into a search backend on a five-minute cycle.
- Cleaning up stale user sessions periodically, such as every half hour.
These computationally expensive background jobs are prime candidates for Green Compute, allowing production systems to minimize their environmental impact without sacrificing functionality.

Part of a Broader Sustainability Effort
Green Compute expands Cloudflare's existing sustainability initiatives. The Carbon Impact Report provides visibility into the environmental impact of customer usage. Certification from the Green Web Foundation marks Cloudflare Pages as green hosting. Green Compute now closes the loop for scheduled workloads, offering another way to run exclusively on renewable energy—again, with no additional system complexity required.
For developers aiming to meet ambitious sustainability goals, Green Compute on Cloudflare Workers provides a path to run scheduled compute on green infrastructure, straight out of the box.



