OpenAICloudflare Developer PlatformJun 2, 2026, 3:00 PM

Workflows, Workers - Schedule Workflow instances directly from your Workflow binding

A condensed section focused on the key takeaways first.

Original Post

Quick Digest

Summary

A condensed section focused on the key takeaways first.

openaienmodel: gpt-5-mini-2025-08-07

Workflows, Workers - Schedule Workflow instances directly from your Workflow binding

Key Points

  • Attach cron schedules to workflow bindings
  • Each schedule auto-creates a Workflow instance
  • No separate Worker cron trigger needed

Summary

On 2026-06-02 Cloudflare added the ability to attach cron schedules directly to a Workflow binding in wrangler.jsonc. Each cron expression in the binding's schedules array automatically creates a new Workflow instance at the scheduled times, so you no longer need a separate Worker with a scheduled handler just to trigger a Workflow.

Example (in wrangler.jsonc):

{
  "workflows": [
    {
      "name": "my-scheduled-workflow",
      "binding": "MY_WORKFLOW",
      "class_name": "MyScheduledWorkflow",
      "schedules": [
        "0 * * * *",
        "*/15 * * * *",
        "0 9 * * MON-FRI"
      ]
    }
  ]
}

Key Points

  • Configure cron expressions on the Workflow binding via the schedules array in wrangler.jsonc.
  • Each scheduled entry spawns a new Workflow instance automatically—no separate Worker cron trigger required.
  • Useful for recurring jobs (backups, invoice/report generation, aggregation, cleanup).
  • You can attach multiple schedules (hourly, every-15-minutes, weekday-only) to the same Workflow.
  • See the "Trigger Workflows" documentation for full details and edge cases.

Full Translation

Translations

A translation section that keeps the flow of the original article.

openaijamodel: gpt-5-mini-2025-08-07

Workflows、Workers - WorkflowバインディングからWorkflowインスタンスを直接スケジュールする

Changelog

Workflows、Workers - WorkflowバインディングからWorkflowインスタンスを直接スケジュールする

Published: 2026-06-02T15:00:00.000Z

wrangler.jsonc の Workflow バインディングに cron スケジュールを直接添付できるようになりました。各スケジュール実行は自動的に新しい Workflow インスタンスを作成するため、Workflow を定期的にトリガーするだけの別の Worker(scheduled handler を持つ)を定義する必要はありません。

例えば、同じ Workflow に対して毎時、15分ごと、平日のスケジュールを次のように構成できます。

JSONC

{ " workflows " : [ { " name " : "my-scheduled-workflow" , " binding " : "MY_WORKFLOW" , " class_name " : "MyScheduledWorkflow" , " schedules " : [ "0 * * * *" , "*/15 * * * *" , "0 9 * * MON-FRI" ] } ] }

これにより、別途 Cron Trigger エントリポイントを用意することなく、定期実行が必要なジョブ(例: データベースのバックアップ、請求書生成、レポート集約、クリーンアップ作業など)を簡単に構築できます。

  • データベースのバックアップ
  • 請求書の生成
  • レポートの集約
  • クリーンアップ作業

詳細は Trigger Workflows を参照してください。

Workflows, Workers - Schedule Workflow instances directly from your Workflow binding | Cloudflare Developer Platform | DocsDigest