Scheduled tasks never execute automatically — wakeScheduler feature flag unavailable
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?
Bug Description
Scheduled tasks create history entries at the correct time but never actually execute. The local agent is never spawned. Manual execution works — clicking on a history entry in Scheduled > Task > History triggers the task successfully.
Root Cause
The wakeScheduler feature flag is set to "unavailable" in the desktop app's renderer process flags, despite all local settings being correctly configured:
ccdScheduledTasksEnabled: true✅keepAwakeEnabled: true✅coworkScheduledTasksEnabled: true✅- Mac set to prevent sleep on power adapter ✅
- Mac always plugged in and online ✅
The feature flag from the process args:
"wakeScheduler":{"status":"unavailable"}
Environment
- Claude Desktop: v1.569.0
- macOS (Apple Silicon)
- Claude Code: 2.1.87
- All scheduled task settings enabled in config
What Should Happen?
Scheduled tasks should execute automatically at their scheduled time without manual intervention.
Error Messages/Logs
Steps to Reproduce
- Create a scheduled task (via /schedule or Scheduled Tasks UI)
- Wait for the scheduled time to pass
- Observe: history entry is created with a spinner, but task never executes
- Manually click the history entry → task runs successfully
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
1.569.0
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
<img width="684" height="195" alt="Image" src="https://github.com/user-attachments/assets/cf344be6-acfd-4289-aa85-842eb9467ec7" />
Screenshot - Endless spinner, scheduled task not executing unless manually clicking the history field where the task is reporting "running" but its not.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗