This can be done via a shell script such as:
for TIME in `seq 100 -1 0` do let mins=($TIME/60) let secs=($TIME%60) printf "preview::Starts in %d:%d" $mins $secs | nc -q0 localhost 2346 sleep 1; done
This can be done via a shell script such as:
for TIME in `seq 100 -1 0`
do let mins=($TIME/60)
let secs=($TIME%60)
printf "preview::Starts in %d:%d" $mins $secs | nc -q0 localhost 2346
sleep 1;
done