Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Loop Engineering Without a Coding Agent: The 11 Cron Jobs That Run My Infrastructure

Description and use

Automating infrastructure without AI: 11 cron jobs that keep NAS, servers, and mail running using only scripts and control checks.

Problem

Managing self‑hosted infrastructure requires continuous monitoring and automated actions without relying on AI agents, to avoid unnecessary costs and failures.

Outcome

The author achieved near‑zero token costs for 8 of 11 jobs, maintained reliable monitoring with no false alarms for 1,618 ticks, and reduced manual intervention by automating deterministic checks.

Workflow

  • 1. Define 11 cron jobs with specific triggers (e.g., every 5 min, daily 10:00).
  • 2. Implement each job as a script that performs deterministic checks (HTTP/TCP probes, SMART counters, domain expiry thresholds).
  • 3. Add a control probe (e.g., https://one.one.one.one/) to distinguish local failures from network outages.
  • 4. Ensure scripts exit with code 0 on success and code 1 with a "CANNOT MEASURE" message on failure.
  • 5. For jobs requiring judgment, use an LLM prompt but keep them in Tier 2 (propose, human confirms).
  • 6. Deploy Tier 3 job (VM restart) with strict conditions: unreachable from hypervisor, three‑run cooldown, and control probe success.
  • 7. Monitor Telegram notifications for alerts only when failures occur.
  • 8. Periodically review the first few runs of new jobs to detect silent failures.

Evidence

Eight of those eleven contain no AI at all.

Source

The measured difference in my own fleet: 8 of 11 loops run with zero tokens.

Source

The endpoint watchdog goes further, and this is my favourite piece of the whole setup. Before it judges anything, it probes a control target — https://one.one.one.one/.

Source

A verifier that cannot tell "broken" from "I can't see" will eventually take a destructive action during a network outage.

Source

  • Record date: 2026-10-21T05:56:20.058Z