media-sucker/scripts/status.sh

14 lines
217 B
Bash
Executable File

#! /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