Armada is a read-only page that shows every device on my private VPN and every recurring or auto-starting job on the machines it can read: systemd timers, cron entries, launchd jobs, Windows scheduled tasks, auto-start services, startup entries and accepted SSH keys. One server gathers them on demand, using a key that each machine accepts for a single inventory script. The first full read, on 2026-11-20, returned 521 entries from four machines and put five fault flags and every SSH key not locked to one command on one screen. Armada schedules nothing itself.
A Scheduled Task Opened a Window Over My Typing Every 30 Minutes
I built Armada because a job I could not see kept interrupting me. On 2026-11-16 a scheduled task on my desktop ran about 270 git commands per pass, every 30 minutes, and each command opened a console window on top of whatever I was typing. All six of the processes I sampled owned a visible console. An audit that afternoon found older tools with the same defect.
The larger problem was inventory. Recurring work lived in five kinds of scheduler across four machines (systemd timers, cron, launchd, Task Scheduler and Windows startup entries), and no single place listed it. I wanted one page that answered three questions: what runs, where, and what failed last time.
One Fixed Script per Platform Prints One JSON Document
Each machine runs a collector that reads its schedulers and prints a single JSON document. Over SSH the collector accepts nothing from its caller, and it reads without changing anything. The Linux and macOS collector is one Python file that uses only the standard library and runs on Python 3.9. The Windows collector is one PowerShell 5.1 script that uses built-in cmdlets and starts no other process.
| Machine | Sources read | Entries, first gather |
|---|---|---|
| Debian, the VPN hub | systemd timers, failed units, user and root crontabs, cron.d, periodic cron folders, accepted SSH keys | 43 |
| Debian, application server | The same nine sources | 37 |
| macOS | launchd agents and daemons, crontabs, accepted SSH keys | 24 |
| Windows 11 desktop | Scheduled tasks, auto-start services, Run keys, Startup folders, accepted SSH keys | 417 |
| Total | 28 source reads | 521 |
Every document lists each source with a count, or with the reason it could not be read. A root crontab that needs a password shows as unread with the error text, and the other sources still report.
The Gathering Key Is Configured for One Script
The server that gathers holds one SSH key, and each machine accepts that key for its collector only. The accepted-keys line carries three restrictions: a forced command, restrict, and a source address.
restrict,from="192.0.2.10",command="/usr/bin/python3 /opt/inventory/unix_inventory.py" ssh-ed25519 AAAA... inventoryI compared four ways to collect the data.
| Approach | What the gathering key gives someone who breaks into that server | Runs on my desktop | Outcome |
|---|---|---|---|
| Ordinary SSH keys to every machine | A shell on all four | No | Rejected |
| Desktop gathers and pushes results | The results the desktop pushed | Yes, on a schedule | Rejected |
| Resident agent on every machine | Whatever the agent can do | Yes, permanently | Rejected |
| One key locked to one script per machine | The inventory script on each machine and its masked output | Only while a read is in progress | Chosen |
I tested the lock on all four machines before the first gather. A request for a shell command returned the inventory document and created no file. A file copy was refused and a forwarded port carried no data. On the three Unix machines a terminal request was also denied. Each host key is pinned after matching the machine's own key file.
A Failed Read Keeps the Last Good One
The gather validates every answer before storing it. Banner text ahead of the JSON, a cut-off document, a document naming a different machine and a timestamp more than ten minutes in the future all count as a failed read. The previous snapshot stays in place and the machine shows as stale with the reason.
Three rules keep the page accurate about gaps. A machine that has never been read gets no job list, so it cannot be mistaken for a machine with zero jobs. A registry entry is not reported missing when the source it lives in failed to read. When live peer status is unavailable, every peer shows as unknown.
Known Secret Formats Are Masked Before Data Leaves the Machine
Command lines pass a redactor inside the collector, before any text crosses the network. A second agent reviewed the code, and its largest finding was redaction: a database password attached to -p, user:password after -u, a webhook token in a URL path and a DB_PASS= prefix all passed through the first version. Twenty such shapes are now tests on both platforms, next to a list of ordinary commands that must come out unchanged.
The same review found that an outside web page could have read the inventory through DNS rebinding. The page now answers to two host names and returns 403 to any other. Redaction is pattern based, so a secret in a shape the patterns do not know would still be shown. I record that as a known limit, and treat the inventory itself as sensitive: the page is reachable only inside the VPN.
The First Screen Fits One Viewport
The overview draws the fleet as a map: the hub in the middle, the machines Armada reads on the left, the devices it only shows on the right. Beside it sit the list of faults and review items and a strip of jobs due in the next 24 hours. Clicking a device opens a dialog with that machine's counts and its jobs grouped by scheduler, each group closed until opened.
The page is drawn from a single snapshot endpoint by one file, so the layout can change without touching collection. The page ships no JavaScript: the dialogs use the CSS :target selector, and the content security policy allows no script.
Administrator Rights Showed 75 More Entries on Windows
An unelevated inventory has a blind spot the size of every other account on the machine. A read from my own standard session returned 342 entries on the Windows desktop. The same collector run with administrator rights returned 417. The extra 75 included scheduled tasks owned by a second account, and one of those tasks was failing.
Results
- 521 entries from four machines on the first full gather, with timer, cron and launchd counts checked against each machine directly
- Five fault flags on one screen, among them failed units on the VPN hub, a failed maintenance check and a failing task on the desktop
- Every SSH key not locked to one command, listed beside the jobs so each one can be reviewed
- Key lock tested on four machines: a requested command was ignored, a file copy was refused and a forwarded port carried nothing
- More than 120 Python tests and 61 PowerShell self-checks, run by the deploy script before every deploy
- Every review finding fixed, each with a test
- No scheduler added: a read starts from a button, at most once a minute, or from one command
I started with a window I could not explain. I now have one screen that lists what runs on each machine and what failed last time.
- Armada lists every recurring and auto-starting job on four machines by running one fixed, read-only script per platform and collecting one JSON document from each.
- The gathering server holds one SSH key that each machine accepts for its inventory script only; in testing on all four, a requested shell command was ignored, a file copy was refused and a forwarded port carried nothing.
- A failed or invalid read keeps the last good snapshot and marks the machine stale, and a machine that was never read is shown without a job list.
- Recognized secret formats in command lines are masked on the machine before they are sent; a code review added twenty secret shapes to the tests on both platforms.
- Reading Windows with administrator rights returned 417 entries against 342 without, including a failing task owned by a second account.