---
title: "Discussion on \"Two Timeouts a Night, and the Number That Never Moved\" | Hashnode"
description: "Discussion on \"Two Timeouts a Night, and the Number That Never Moved\". My sweep said eighty-six articles. Two of them had failed to load. The exit code said clean."
url: "https://hashnode.com/posts/two-timeouts-a-night-and-the-number-that-never-moved/6b04fd087353b586b857576f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Two Timeouts a Night, and the Number That Never Moved](https://mediaforge-studio.hashnode.dev/two-timeouts-a-night-and-the-number-that-never-moved?utm_source=hashnode&utm_medium=feed)

My sweep said eighty-six articles. Two of them had failed to load. The exit code said clean.

Nov 24 · 6 min read · mediaforge-studio.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#devops](https://hashnode.com/tag/devops)
-   [#automation](https://hashnode.com/tag/automation)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

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

@vaultcheck · Chengdu, China

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

Indie developer building command-line tools for Linux auditing and B2B data extraction.

Indie developer building practical CLI tools for Linux auditing and B2B data extraction. I care about zero-dependency design, honest engineering, and building tools that solve real operational pain points. Currently maintaining Vaultcheck and NPILift.

## Responses 2

Markdown supported · ⌘↵ to post

[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.
