media-sucker/scripts/status.sh

14 lines
217 B
Bash
Raw Normal View History

2022-01-06 17:33:25 -07:00
#! /bin/sh
. /scripts/common.sh
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