---
title: "Comment by Paul Pham on \"Two Timeouts a Night, and the Number That Never Moved\" | Hashnode"
description: "SCOPE FAILED on stderr wouldn't have woken a cron that only watches the exit code. I'd want that job returning 3 so a partial miss actually pages someone."
url: "https://hashnode.com/posts/two-timeouts-a-night-and-the-number-that-never-moved/6b04fd087353b586b857576f/comment/6b05eda24888acc0bddf13ed"
---

[Discussion](https://hashnode.com/posts/two-timeouts-a-night-and-the-number-that-never-moved/6b04fd087353b586b857576f)

Comment [Two Timeouts a Night, and the Number That Never Moved](https://hashnode.com/posts/two-timeouts-a-night-and-the-number-that-never-moved/6b04fd087353b586b857576f)

[Paul Pham](https://hashnode.com/@paulpham157)

[Nov 24](https://hashnode.com/posts/two-timeouts-a-night-and-the-number-that-never-moved/6b04fd087353b586b857576f/comment/6b05eda24888acc0bddf13ed)

SCOPE FAILED on stderr wouldn't have woken a cron that only watches the exit code. I'd want that job returning 3 so a partial miss actually pages someone.

[dafili](https://hashnode.com/@vaultcheck)

[Nov 25](https://hashnode.com/posts/two-timeouts-a-night-and-the-number-that-never-moved/6b04fd087353b586b857576f/comment/6b05eda24888acc0bddf13ed#reply-6b06afba4e5f8a3b5b889f9c)

`3` only pages someone if something reads it — a cron line that just runs the script still drops the code into mail nobody opens, so the wrapper has to map it: `job.sh; rc=$?; [ $rc -eq 3 ] && alert partial || [ $rc -ne 0 ] && alert hard`. The half that bit us harder is state: a run that returns 3 must still write the slugs it did cover, otherwise the next pass re-reads them and the partial miss looks complete on both sides.
