automation guides
- Claude Code Cron Job Setup: Run Automations Overnight
Claude Code cron job setup: auth tokens, PATH, working directory, permissions, locks and log rotation, so overnight claude -p runs don't fail silently.
- "Claude Code Checkpoints: How Rollback Works in Automations"
"How Claude Code checkpoints work in headless jobs: enable SDK file checkpointing, save UUIDs, rewind unattended runs, and learn what rewind can't undo."
- Why Claude Code Stops Mid-Automation (and How to Fix It)
Why does Claude Code stop running headless automations? Map the turn, budget, timeout and permission triggers in claude -p runs, plus a fix checklist.