Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Set a Worker's cron triggers by name without a local project build

Open
#169 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
api, cli

Research direction

Start at the existing cf workers triggers deploy entry point and the PUT .../workers/scripts/{script_name}/schedules endpoint described in the issue. Trace how commands resolve project configuration, then define the schedules command and its dry-run behavior. Done means cron schedules can be replaced by worker name without a project manifest, and dry-run displays the request.

Written by the indexing model from the issue text.

Description

upstream

Version: cf 1.0.0-beta.10

Problem: cf workers triggers deploy only works inside a project that cf can build. In a Worker folder that ships with wrangler.toml but no @cloudflare/vite-plugin or wrangler dependency in its manifest, even --dry-run fails before calling the API:

No Cloudflare dev-server is installed in this project.
A project must declare exactly one of the following in its manifest: ...

There is no way to set a Worker's cron triggers by name without a local build.

Why it matters: Re-applying a cron (PUT .../workers/scripts/{script_name}/schedules) is a common recovery step when a trigger stops firing. Today that needs a full project setup or a hand-written curl call.

Request: something like

cf workers schedules set <worker> --cron "* * * * *" [--cron "*/5 * * * *"]

wrapping PUT .../schedules (replace the whole set), with --dry-run showing the request. It should not depend on a project manifest.

Dominant language
TypeScript
Stars
853
Forks
42
Avg merge
17h 57m
Merged PRs (30d)
146

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudflare/cf

All issues in cloudflare/cf

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.