Skip to content

Conversation

@thomas-desmond
Copy link
Contributor

@thomas-desmond thomas-desmond commented Mar 7, 2025

Summary

Add code sample for Worker cron triggers directly into the documentation

closes #20632

Screenshots (optional)

image

Documentation checklist

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2025

Howdy and thanks for contributing to our repo. We review new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented Mar 10, 2025

PR Change Summary

Enhanced the Cron Triggers documentation by adding code examples for scheduled handlers.

  • Added a code sample for Worker cron triggers directly in the documentation.
  • Introduced a new file for TypeScript examples of scheduled handlers.
  • Updated existing documentation to reference the new examples.

Modified Files

  • src/content/docs/workers/configuration/cron-triggers.mdx
  • src/content/docs/workers/examples/cron-trigger.mdx

Added Files

  • src/content/partials/workers/cron-trigger-example.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

What is Hyperlint?

Hyperlint is an AI agent that helps you write, edit, and maintain your documentation.

Learn more about the Hyperlint AI reviewer and the checks that we can run on your documentation.

Copy link
Collaborator

@kodster28 kodster28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Howdy @thomas-desmond, actually moved these into a shared partial file and then updated it to appear in both places.

Helps us with the maintenance!

@kodster28 kodster28 enabled auto-merge (squash) March 10, 2025 13:58
@kodster28 kodster28 merged commit 0c69911 into cloudflare:production Mar 10, 2025
6 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Mar 10, 2025
@holopin-bot
Copy link

holopin-bot bot commented Mar 10, 2025

Congratulations @thomas-desmond, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm83538pb61220cl48flm3ulc

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

RebeccaTamachiro pushed a commit that referenced this pull request Apr 21, 2025
…ion (#20637)

* docs: Add examples for scheduled handlers in Cron Triggers documentation

* fix: Update Cron Triggers documentation to use TypeScript example component

* Reformat

---------

Co-authored-by: kodster28 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution [Holopin] Recognizes a docs contribution, big or small product:workers Related to Workers product size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cloudflare cron triggers documentation does not include code sample

8 participants