CronCreate durable flag doesn't persist to scheduled_tasks.json
Resolved 💬 5 comments Opened Mar 28, 2026 by revprism-dev-bot Closed May 24, 2026
Bug
CronCreate with durable: true does not persist the scheduled task. The tool schema documents a durable parameter:
true = persist to .claude/scheduled_tasks.json and survive restarts
But when called with durable: true:
- The output still says "Session-only (not written to disk, dies when Claude exits)"
~/.claude/scheduled_tasks.jsonis never created- The task does not survive session restarts
Reproduction
- Call
CronCreatewithdurable: true:
{
"cron": "*/5 * * * *",
"prompt": "any prompt",
"recurring": true,
"durable": true
}
- Check output — says "Session-only"
- Check
~/.claude/scheduled_tasks.json— file does not exist
Expected
- Output should confirm the task is durable
~/.claude/scheduled_tasks.jsonshould be created with the task- Task should fire in subsequent sessions
Environment
- Claude Code CLI
- Linux (Ubuntu-based)
- Claude Opus 4.6 (1M context)
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗