media-sucker/scripts/status.sh

14 lines
222 B
Bash
Raw Normal View History

2022-01-06 17:33:25 -07:00
#! /bin/sh
2022-01-09 16:26:12 -07:00
. $(dirname $0)/common.sh
2022-01-06 17:33:25 -07:00
while true; do
if ! /scripts/status.json.sh > /www/status.json.new; then
log "Unable to render status!"
else
mv /www/status.json.new /www/status.json
fi
sleep 2
done