Skip to content

Support scheduled / cron triggers in standalone workerd #7188

Description

@xiaozhuai

It would be useful if standalone workerd could natively schedule scheduled() handlers, similar to Cloudflare Workers Cron Triggers.

For example, allowing cron expressions to be configured in config.capnp:

scheduled = [
  (
    service = "worker",
    cron = "*/5 * * * *"
  )
]

This would make self-hosted Workers with periodic background jobs possible without requiring an external cron/systemd/Kubernetes scheduler.

Would this be something workerd could support?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions