diff options
Diffstat (limited to 'tools/uptime_check.sh')
| -rw-r--r-- | tools/uptime_check.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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" |
