Claude Code Scheduled Tasks Bug: Silent Failures and False Success Reports
wshallwshall · ghdev · 2026-07-31
A developer reported a critical bug in Claude Code's scheduled-tasks feature. Six sessions attempting to schedule a restart after hitting usage limits all failed in two distinct ways:
- Silently dropped: 3 tasks were never dispatched but remained enabled: true with a nextRunAt timestamp stuck in the past, leaving them permanently armed.
- Killed mid-execution but reported success: 3 tasks were killed mid-tool-call within 15-27 seconds, but the system marked them as enabled: false with lastRunAt set—identical to a successful completion.
The report notes that the underlying scheduling API functions correctly, suggesting the defects lie entirely in dispatch, execution, and state reporting. Additionally, when multiple tasks share the same fire time, only a prefix of the tasks is dispatched while the rest are dropped.
More from coding & agent
- Hugging Face releases RL-tuned Inkling-2-Mini: same Terminal-Bench score in 25min instead of 60 — yb2698 · 2026-12-02
- Open-Source Local MCP Server Connects Claude to D2L Brightspace, Read-Only — Illustrious_Key_9888 · 2026-12-02
- Domain Trust: A Security API and MCP Server for AI Agents to Vet Domains Before Interacting — Significant_Text8102 · 2026-12-02
- Subsola: a free open-source 3D map of underground utilities in 10 US cities, built with Claude Code — anselm · 2026-12-02
- "CI/CD is dead": Developer lays out the AI Software Factory replacing traditional pipelines — Pavan_Belagatti · 2026-12-02
- Codex lead confirms upgraded harness not shipped yet; current one 'will seem primitive in 2-3 months' — VraserX · 2026-12-02