From adccfcedf4be1b314034b9b8e458fe54a11e8433 Mon Sep 17 00:00:00 2001 From: Phil Date: Sat, 18 Apr 2026 18:08:43 +0100 Subject: [PATCH] Updated the script to check in every 45 seconds --- UptimeKuma-Monitor-Setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UptimeKuma-Monitor-Setup.sh b/UptimeKuma-Monitor-Setup.sh index 66b1f10..6de7405 100755 --- a/UptimeKuma-Monitor-Setup.sh +++ b/UptimeKuma-Monitor-Setup.sh @@ -18,7 +18,7 @@ echo "==========================================" echo "" # Prompt for endpoint URL -read -p "Enter the endpoint URL (e.g., https://example.com/your-endpoint): " endpoint_url +read -p "Enter the endpoint URL (e.g., https://example.com/api/push/xxxxxxxxxxxxxxxxxxxxx): " endpoint_url # Validate URL format if [[ ! "$endpoint_url" =~ ^https?:// ]]; then @@ -32,7 +32,7 @@ tee /opt/monitor_checkin.sh > /dev/null < /dev/null 2>&1; do sleep 5 done -echo "Network is ready. Script started. Calling URL every 55 seconds..." +echo "Network is ready. Script started. Calling URL every 45 seconds..." while true; do curl -s "\$url" > /dev/null @@ -58,7 +58,7 @@ chmod +x /opt/monitor_checkin.sh echo "Creating systemd service..." tee /etc/systemd/system/monitor_checkin.service > /dev/null <