sk0r/refresh.sh

13 lines
266 B
Bash
Raw Permalink Normal View History

2021-04-06 19:08:58 +00:00
#!/bin/sh
# this script reloads the electron page every $interval to make sure all the
# matches are fresh
2021-04-07 07:40:34 +00:00
interval=300 # 5 minutes
2021-04-06 19:08:58 +00:00
while true
do
curl -s "https://illegaldrugs.net/skor?reload" >/dev/null
echo "reloaded on $(date)"
sleep $interval
done