From 898b52edcb47bcb3e9d6106e74ca73e74ea01e70 Mon Sep 17 00:00:00 2001 From: sillylaird Date: Thu, 3 Sep 2026 00:33:59 +0000 Subject: import live www.sillylaird.ca webroot --- tools/uptime_check.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 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 100755 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