From 720d752748b793a2f5cf3cc14cb75ad86e8919c0 Mon Sep 17 00:00:00 2001 From: sillylaird Date: Tue, 3 Feb 2026 21:27:57 -0500 Subject: First commit --- tools/uptime_check.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tools/uptime_check.sh (limited to 'tools/uptime_check.sh') diff --git a/tools/uptime_check.sh b/tools/uptime_check.sh new file mode 100644 index 0000000..0bbc6e8 --- /dev/null +++ b/tools/uptime_check.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +URL="${URL:-https://www.sillylaird.ca/}" + +curl -fsS -o /dev/null -w "HTTP %{http_code} in %{time_total}s\n" "$URL" -- cgit v1.2.3