[BUG] ccdScheduledTasksEnabled preference value is silently reset to false on Claude Desktop startup

Resolved 💬 2 comments Opened May 23, 2026 by fishskylky-tech Closed May 26, 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?

When manually editing ccdScheduledTasksEnabled in claude_desktop_config.json to true, the value is silently reset to false after starting Claude Desktop. This happens consistently on every startup.

Environment

Configuration file location:

~/Library/Application Support/Claude-3p/claude_desktop_config.json  (macOS)
~/.config/Claude/claude_desktop_config.json  (Linux)

Expected behavior:
Both ccdScheduledTasksEnabled and coworkScheduledTasksEnabled should persist their values across restarts.

Actual behavior:

  • coworkScheduledTasksEnabled: true ✅ Persists correctly
  • ccdScheduledTasksEnabled: true ❌ Gets reset to false on every startup

Root Cause Analysis

Through code analysis of the Claude Desktop app bundle (app.asar), I found:

  1. Both preferences have identical default values in the code:
coworkScheduledTasksEnabled:!1,  // false
ccdScheduledTasksEnabled:!1,     // false
  1. Both are defined in Zod schemas as optional with no default:
coworkScheduledTasksEnabled: nt().optional(),
ccdScheduledTasksEnabled: nt().optional(),
  1. The issue is related to the preferences writer overwriting the entire config file instead of merging (similar to Issue #32345 which was closed as "invalid" but the underlying problem persists).

Workaround Attempted

Closing Claude Desktop completely before editing the config file does not prevent the reset. The application appears to overwrite the config file during initialization.

---

What Should Happen?

Setting ccdScheduledTasksEnabled: true in the config file should persist across Claude Desktop restarts, just like coworkScheduledTasksEnabled does.

---

Steps to Reproduce

  1. Ensure Claude Desktop is completely closed (all processes stopped)
  2. Edit claude_desktop_config.json and set "ccdScheduledTasksEnabled": true
  3. Verify the file content shows "ccdScheduledTasksEnabled": true
  4. Start Claude Desktop
  5. Wait for startup to complete
  6. Check the config file again
  7. Observe: ccdScheduledTasksEnabled is now false

---

Related Issues

  • Issue #32345 - Config file overwrite bug (closed as "invalid" but similar problem)
  • Issue #44129 - Scheduled tasks never execute automatically (related: wakeScheduler unavailable)

---

Claude Model

Not applicable (this is a desktop app preference issue)

Is this a regression?

Unknown - the user only recently needed this feature

Last Working Version

Not applicable

Claude Code Version

Claude Desktop: 1.8089.1
Claude Code CLI: 2.1.142

Platform

Anthropic API

Operating System

macOS (Apple Silicon)

Terminal/Shell

Not applicable (Desktop app)

Additional Information

The user is trying to enable scheduled tasks functionality which depends on ccdScheduledTasksEnabled. The workaround is to manually re-enable the setting after every Claude Desktop restart, which is not sustainable.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗