Sheet 06 · /tools/bash
Bash
Published automations that use Bash.
https://www.gnu.org/software/bash/
Check that your API and MCP server still say what your website says
A read-only script asserts that every machine-readable view of a site answers, that its MCP server completes a handshake and lists its tools, and that no private field appears in any public response.
Screenshot every route at phone and desktop width after every change
One script walks every route in a site, checks each against an expected status code, captures the canonical, robots and description tags, screenshots at two widths, and exits non-zero when any check fails.
Tell a chat channel when a site goes down, once
A five minute cron check posts to a chat webhook only when a site changes state, so an outage announces itself once and the recovery announces itself once.
Back up one folder every night and keep two weeks
A nightly cron job archives one folder to a dated tar.gz and deletes archives older than fourteen days, so a restore is always a single file away.