claude-code - 💡(How to fix) Fix [BUG] ccdScheduledTasksEnabled preference value is silently reset to false on Claude Desktop startup

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

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).

Fix Action

Fix / Workaround

Workaround Attempted

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.

Code Example

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

---

coworkScheduledTasksEnabled:!1,  // false
ccdScheduledTasksEnabled:!1,     // false

---

coworkScheduledTasksEnabled: nt().optional(),
ccdScheduledTasksEnabled: nt().optional(),
RAW_BUFFERClick to expand / collapse

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?

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.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] ccdScheduledTasksEnabled preference value is silently reset to false on Claude Desktop startup