Run cron-started agents for server updates and log checks
Author starts coding-agent sessions from cron to keep servers updated, report vulnerabilities and check logs for intrusion, using Codex and a custom harness. ·
Done withCodex
- What they did
- The author starts agent sessions from cron, with no agent platform, using Codex and a harness they wrote themselves. The sessions handle sysadmin work: keeping servers up to date, reporting vulnerabilities to them, and checking logs for signs of intrusion. The harness writes a plan to the filesystem, hands information to the next session and resets context.
- How it went
- The source gives no results or numbers. It says only that the setup is in use, and the author wants the custom harness to eventually replace Codex because of its dependencies and supply-chain risk.
- Worth knowing
- The source doesn't say how access or permissions are scoped for these cron sessions, so decide that yourself before letting an agent touch servers.
Try it yourself with Codex
Set up a scheduled job on my server [hostname or SSH alias] that starts you every [night at 3am] to apply pending [apt/yum] security updates, list any packages with known vulnerabilities, and scan [log paths like /var/log/auth.log] for signs of intrusion such as repeated failed logins or unfamiliar IPs. Save a short plain-text report to [path or email] and stop when it is written. Show me the cron entry and the exact update commands before you install or run anything, and never reboot or delete files without asking.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: HN · Nov 5, 2026
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Run a solo business with a team of 16 agents
A solo founder uses ~16 Claude and Codex agents for lead research, cold emails, CRM upkeep, SEO content and call prep, and says it found and qualified a first pilot customer.
Redesign an admin feature with multiple design options
A user asked Codex to redesign an admin feature and produce five designs, and liked all of them.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Build a Chrome extension for presenting webinars
A Replit forum user built a Chrome extension so they could keep notes in view while presenting webinars, and published it to the Chrome Web Store.
Find errors in production agent traces
Laminar's flow-1 model reads agent traces to catch implicit failures like wrong clicks or wrong citations, so every production trace can be analyzed without sampling.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.