<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cron on 白と黒</title><link>https://chillfixx.work/tags/cron/</link><description>Recent content in Cron on 白と黒</description><generator>Hugo</generator><language>ja</language><lastBuildDate>Sun, 04 Oct 2026 13:00:00 +0900</lastBuildDate><atom:link href="https://chillfixx.work/tags/cron/index.xml" rel="self" type="application/rss+xml"/><item><title>自動実行のbashが突然落ちる・失敗を見逃す4つの罠</title><link>https://chillfixx.work/blog/bash-unattended-pitfalls/</link><pubDate>Sun, 04 Oct 2026 13:00:00 +0900</pubDate><guid>https://chillfixx.work/blog/bash-unattended-pitfalls/</guid><description>&lt;h2 id="はじめに手で動かすと通るのに無人だと落ちる"&gt;はじめに:手で動かすと通るのに、無人だと落ちる&lt;/h2&gt;
&lt;figure&gt;
 &lt;video class="w-full rounded-2xl" src="https://chillfixx.work/blog/bash-unattended-pitfalls/four-traps.mp4" poster="/blog/bash-unattended-pitfalls/four-traps.webp" width="1200" height="675" data-motion loop muted playsinline preload="none" aria-label="無人で回す bash で踏んだ 4 つの罠: exit 141、消える失敗数、eval の実行、二重起動の上書き"&gt;&lt;/video&gt;
 &lt;figcaption&gt;無人で回す bash で踏んだ 4 つの罠: exit 141、消える失敗数、eval の実行、二重起動の上書き&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;毎日 cron で回しているスクリプトが、ある日から落ち始める。テストは全件 pass なのに、壊れたコードが通っている。手で 1 回動かすと問題なく見えるので、原因を探すのに時間がかかります。&lt;/p&gt;</description></item></channel></rss>