Cannot create a new scheduled task from within a scheduled task session
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 attempting to schedule a follow-up task during an active scheduled task session, the system returned:
"Cannot create scheduled tasks from within a scheduled task session."
This restriction is unexpectedly limiting — a common use case is for a scheduled task to queue a follow-up task based on its findings. There is no apparent technical reason this should be blocked, and the error message provides no workaround.
Steps to reproduce:
Create a scheduled task that runs once (one-time fireAt)
When the task fires and the session opens, attempt to create another scheduled task
Error is returned
Expected behavior: Scheduled tasks should be able to create follow-up scheduled tasks.
Environment: Claude Code on Windows 11
What Should Happen?
When attempting to schedule a follow-up task during an active scheduled task session, the system returned:
"Cannot create scheduled tasks from within a scheduled task session."
This restriction is unexpectedly limiting — a common use case is for a scheduled task to queue a follow-up task based on its findings. There is no apparent technical reason this should be blocked, and the error message provides no workaround.
Steps to reproduce:
Create a scheduled task that runs once (one-time fireAt)
When the task fires and the session opens, attempt to create another scheduled task
Error is returned
Expected behavior: Scheduled tasks should be able to create follow-up scheduled tasks.
Environment: Claude Code on Windows 11
Error Messages/Logs
When attempting to schedule a follow-up task during an active scheduled task session, the system returned:
"Cannot create scheduled tasks from within a scheduled task session."
This restriction is unexpectedly limiting — a common use case is for a scheduled task to queue a follow-up task based on its findings. There is no apparent technical reason this should be blocked, and the error message provides no workaround.
Steps to reproduce:
Create a scheduled task that runs once (one-time fireAt)
When the task fires and the session opens, attempt to create another scheduled task
Error is returned
Expected behavior: Scheduled tasks should be able to create follow-up scheduled tasks.
Environment: Claude Code on Windows 11
Steps to Reproduce
When attempting to schedule a follow-up task during an active scheduled task session, the system returned:
"Cannot create scheduled tasks from within a scheduled task session."
This restriction is unexpectedly limiting — a common use case is for a scheduled task to queue a follow-up task based on its findings. There is no apparent technical reason this should be blocked, and the error message provides no workaround.
Steps to reproduce:
Create a scheduled task that runs once (one-time fireAt)
When the task fires and the session opens, attempt to create another scheduled task
Error is returned
Expected behavior: Scheduled tasks should be able to create follow-up scheduled tasks.
Environment: Claude Code on Windows 11
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.74
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗