I'm trying to check if the vlc streaming is working or not with crontab and shell script:
#!/bin/sh
#
# Restart VLC IF died
#
if $( /usr/bin/sockstat -4 -l | /usr/bin/grep -q ":8081" ); then
echo "runing"
else
/usr/local/bin/cvlc --quiet -I dummy ....
fi 2> /dev/null 1> /dev/null &
But vlc don't starts without any erorrs in cron log. Maybe, someone can help me ? In Linux all works normally. I think, this problem with, that vlc need's somewhere to show output. Also I tried /usr/local/bin/vlc and /usr/local/bin/vlc-wrapper.