[BUG] Local Routines (scheduled tasks) execute 5 times consecutively instead of once per cron trigger

Resolved 💬 1 comment Opened Apr 19, 2026 by dpsqps Closed May 27, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

## Description
Local Routines (formerly "scheduled tasks") configured in Claude Desktop's Code tab are executing 5 times consecutively at the
scheduled time, instead of running once. This started on April 18, 2026 and continues as of April 19, 2026. Prior to that (April 16–17),
they ran correctly — once per trigger.

## Environment

  • OS: Windows 11 Pro 10.0.26200
  • Claude Desktop: Latest version (Code tab with Routines)
  • Scheduled tasks location: ~/.claude/scheduled-tasks/
  • Config location: %APPDATA%\Claude\claude-code-sessions\<env-id>\<session-id>\scheduled-tasks.json

## Routine Configuration
Two routines configured, both with "cronExpression": "2 12 * * *" (local time 12:02 PM KST daily):

  1. Game deal check — runs Python scripts to check game deals
  2. Ai blog daily — collects AI news and publishes blog posts

## Actual Behavior
Each routine runs 5 times consecutively at approximately the same time. Screenshots show:

  • April 19 (today): Game deal check ran 5 times at PM 12:05
  • April 18 (yesterday): Game deal check ran 5–6 times at PM 12:07
  • April 17 and earlier: Ran correctly once per day

What Should Happen?

Each routine runs once at the scheduled time (12:02 PM).

Error Messages/Logs

Steps to Reproduce

  1. Create a local Routine via Claude Desktop Code tab (or /schedule skill)
  2. Set cron to run once daily
  3. Wait for the scheduled time
  4. Observe the Routine execution history in the Desktop UI

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.114

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

  • The PC was not restarted between runs — this is not a "missed runs firing on app launch" issue (see #44128).
  • The routines UI in Claude Desktop does not allow editing or modifying the routines — clicking on them does nothing.
  • The issue burns through usage limits/tokens at 5x the expected rate.
  • Workaround: Manually set "enabled": false in scheduled-tasks.json.

<img width="1246" height="861" alt="Image" src="https://github.com/user-attachments/assets/eee2a21b-1950-4937-a2fd-0453590c54e6" />

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗