mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-07 14:41:09 +08:00
Push Examples (#3735)
This commit is contained in:
9
extra/push-examples/bash-curl/index.sh
Normal file
9
extra/push-examples/bash-curl/index.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
PUSH_URL="https://example.com/api/push/key?status=up&msg=OK&ping="
|
||||
INTERVAL=60
|
||||
|
||||
while true; do
|
||||
curl -s -o /dev/null $PUSH_URL
|
||||
echo "Pushed!"
|
||||
sleep $INTERVAL
|
||||
done
|
Reference in New Issue
Block a user