[BUG] Claude Desktop freezes on launch when scheduled-tasks.json exists in claude-code-sessions
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: Claude Desktop (v1.1.5368, macOS arm64) freezes on startup when a
scheduled-tasks.json file exists in ~/Library/Application
Support/Claude/claude-code-sessions/<account-id>/<org-id>/. The main process
pegs at 100% CPU and the UI becomes unresponsive.
Resolution: Removing scheduled-tasks.json from the claude-code-sessions
directory resolves the freeze immediately. All other session files load fine.
Environment: macOS 26.3.1, Apple M4 Pro, Claude Desktop 1.1.5368
What Should Happen?
Claude should open and run the scheduled task.
Error Messages/Logs
[CCDScheduledTasks] Spawning new session for scheduled task daily-blog-post
After that, the app just keeps resetting and reinitializing in a loop
(09:45:05 → 09:45:51 → 09:48:10 → 09:49:37). No explicit error — it spawns the
task, something goes wrong, resets, and loops forever.
Steps to Reproduce
[CCDScheduledTasks] Spawning new session for scheduled task daily-blog-post
After that, the app just keeps resetting and reinitializing in a loop
(09:45:05 → 09:45:51 → 09:48:10 → 09:49:37). No explicit error — it spawns the
task, something goes wrong, resets, and loops forever.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.71
Platform
Other
Operating System
macOS
Terminal/Shell
Other
Additional Information
_No response_
This issue has 11 comments on GitHub. Read the full discussion on GitHub ↗