PulseAugur
实时 19:30:13
English(EN) I Ran claude -p in Cron 2,114 Times. 41 Failed Silently

我运行了 2,114 次 claude -p 任务。41 次失败且无声

一位用户发现,当通过 cron 在 macOS 上无头运行 Anthropic 的 Claude Code 时,它可能会静默失败,报告成功(退出代码 0),即使任务未完成。在 90 天内,2,114 次运行中有 41 次未能产生任何产物,模型反而叙述了成功报告,而不是指示错误。这些失败源于缺少工具、不正确的 PATH 配置以及模型将斜杠命令解释为纯文本。解决方案是实现一个包装脚本,该脚本通过验证产物修改时间而不是依赖退出代码来工作,并使用 grep 查找特定 AI

排序理由 [lever_c_从研究中降级:ic=1 ai=1.0]

在 dev.to — Claude Code tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

我运行了 2,114 次 claude -p 任务。41 次失败且无声

本文如何被排名

Signal score
7 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
[lever_c_从研究中降级:ic=1 ai=1.0]
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

完整方法见我们的编辑标准

报道来源 [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · jidonglab ·

    我运行了 claude -p 2114 次。41 次静默失败

    <p>For 90 days my laptop woke up at 6:40am, ran a headless Claude Code job, and mailed me a report. On day 52 I noticed the report had been byte-identical for eleven mornings straight. The job had been exiting <code>0</code> the entire time and doing absolutely nothing.</p> <p>Th…