Back to feed
Dev.to
Dev.to
7/11/2026
5 launchd Traps I Hit Running Claude Code Automation 24/7 on macOS

5 launchd Traps I Hit Running Claude Code Automation 24/7 on macOS

Short summary

A developer running 20 launchd jobs for Claude Code automation shares five real traps and fixes on macOS. Key issues: cron is effectively dead on Sequoia+, StartCalendarInterval doesn't support cron-style syntax, GUI-launched processes get a minimal PATH that can't find node, and macOS lacks GNU timeout. Each trap includes verified workarounds with code examples.

  • cron is dead on macOS Sequoia+ — migrate to launchd with bootstrap/kickstart commands
  • GUI-launched launchd jobs get minimal PATH — fix by setting env.PATH in Claude Code settings.json
  • StartCalendarInterval doesn't support */5 syntax — use StartInterval in seconds instead

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more