Urgent.News

What's breaking now, across thousands of outlets.

AI

Cron'd Claude Agents: A Maintenance Log

Running a fleet of twenty Claude agents on a launchd schedule teaches you fast that scheduler guarantees are weaker than you expect. Each agent wakes, processes a slice of work, writes its results, and goes back to sleep until the next tick. The pattern is simple; the failure modes are not. Three months of nightly runs have turned up launchd timing quirks, session-end failures, and the quiet…

The article provides a candid maintenance log of running twenty Claude agents on a launchd schedule. It highlights several issues encountered, including launchd's weaker guarantees than expected, timing quirks leading to overlapping executions, and handling of environment variables. The author discovered that assigning distinct, fixed start times to each agent eliminated write-lock cascades and ensured independent job execution.

Additionally, the article emphasizes the importance of instrumenting instrumentation before enforcing limits on Claude agent turn counts, as setting ceilings without proper data calibration can cut legitimate work short. The maintenance log also covers session-end handling and data ownership, with agents saving session summaries at the end of each run.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Prompt engineering couldn't fix this LLM bug. 20 lines of binary parsing did.

New here (hey 👋) and wanted to share something. We recently made public an ad intel app we'd been using internally in our agency.

  • Internal ad intelligence app extracts transcripts from video ads using Gemini.
  • Bug caused model to extend video timestamps past actual duration.
  • Solution involved extracting video duration from MP4 header using custom JavaScript function.

More from Wednesday 5 August →