blob: 3031255f420d62a18e05b62456f9b7e87723f64b (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
# Filename: index.sh
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
|