summaryrefslogtreecommitdiff
path: root/tools/uptime_check.sh
blob: 0bbc6e805e5b9c5db3cb72845b5faefdb5490117 (plain)
1
2
3
4
5
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"