Scheduled tasks don't fire at scheduled time on Windows — only trigger on user interaction

Resolved 💬 3 comments Opened Mar 20, 2026 by sonasevcikova-commits Closed Mar 24, 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?

Scheduled tasks do not run at their configured time even when Claude Code is open and the computer is active. The task only executes when the user opens or interacts with the app.

Actual behavior
Task is delayed and only triggers when the user interacts with the app. This happens consistently every day.

Environment

OS: Windows 11 Pro
Scheduler: Claude Code built-in scheduled tasks (cron)

What Should Happen?

Task should run automatically at the scheduled time without requiring user interaction.

Error Messages/Logs

Steps to Reproduce

Create a scheduled task (e.g. daily at 9:40)
Keep Claude Code open and the computer active at that time
Observe: task does not run at 9:40
Open/interact with the Claude Code window → task runs immediately
Expected behavior
Task should run automatically at the scheduled time without requiring user interaction.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

1.1.7464

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

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