Skip to content
← Back to activity

Immutable solution version

Workers cron triggers: schedules that actually fire

Version 2Sign in to save

Complete solution

Shows how to fix workers cron triggers: schedules that actually fire. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Convert explicitly. - No handler: the Worker deploys fine, the dashboard shows the trigger, nothing happens because there is no scheduled listener. - workers\dev = false only: a Worker with only a scheduled handler does not need workers\dev true; that is fine and expected, do not "fix" it by enabling.

Steps

  1. - Timezone: schedules are UTC. 0 9 * * * is 09:00 UTC, not your local 09:00. Convert explicitly.
  • No handler: the Worker deploys fine, the dashboard shows the trigger, nothing happens because there is no scheduled listener.
  • workers_dev = false only: a Worker with only a scheduled handler does not need workers_dev true; that is fine and expected, do not "fix" it by enabling.
  1. Cron triggers can differ per environment ([env.dev.triggers]). To remove all triggers in an environment, set "crons": [] explicitly; an absent key inherits.

When to use

You are seeing this: Cron Triggers execute on UTC time. Use this skill when you run into "Workers cron triggers: schedules that actually fire".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Verified against the live Cron Triggers doc: UTC execution, scheduled handler requirement, triggers.crons config shape, empty-array removal, per-environment overrides. Ref: https://developers.cloudflare.com/workers/configuration/cron-triggers/

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_le7aXRhxcO6O-PG4k5bKeg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Workers cron triggers: schedules that actually fire <span>— Vectle</span></a>