[BUG] scheduled tasks need human intervention to run.
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 I create a scheduled task, Claude tells me to run now so that the next runs can run autonomously in the future. However, each run opens its own session and forgets everything that I allowed in the previous session. So all my scheduled tasks that run overnight never get complete because they need me to be at the computer and allow access to things that I have previously allowed access to. Specifically, folder access that I already gave it access to. To make it weirder, it's asking me to allow access to a folder that it is already using to get context for the task. This makes the scheduled tasks pointless because the task won't complete unless I'm physically at the computer to allow the access to something that I had already allowed access to.
What Should Happen?
Claude should allow you to give permanent access at a task level, not a session level. That way, the task itself can remember what it has access to and what it's allowed to access, so that it can run flawlessly and not have to continuously ask for access when it has already been granted the access in previous sessions. Also, as soon as you give it a working folder, it should always be allowed to read and write and upload to that folder and never need permission to do it again. That is the point of the working folder, to give Claude its own place that it can always use, always read, and always write, and never need approval to access.
Error Messages/Logs
Steps to Reproduce
create and scheduled task that requires it to use or create files in a folder, then run the task and grant it permission to whatever it needs, then go to sleep and see if the task will run without being stuck on a permission request.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude 1.1617.0 (8d6345) 2026-04-09T16:10:15.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗