Skip to content

Scheduled tasks never execute automatically — wakeScheduler feature flag unavailable #44129

Description

@kristianisrael

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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

  1. Create a scheduled task (via /schedule or Scheduled Tasks UI)
  2. Wait for the scheduled time to pass
  3. Observe: history entry is created with a spinner, but task never executes
  4. 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

Image

Screenshot - Endless spinner, scheduled task not executing unless manually clicking the history field where the task is reporting "running" but its not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions