#!/bin/bash # heartbeat.sh — site1.erralert.com check-in. Put in cron. URL='YOUR_URL/heartbeat' curl -fsS -m 15 -H 'Content-Type: application/json' \ --data-raw "{\"hostname\": \"$(hostname)\"}" \ "$URL"