Page 1 of 1

Best way for running external bash script.

Posted: Mon Jul 09, 2012 9:49 pm
by p3k074
Hi,

I trying find best way for run external bash script when specified zones detected any move.

I used great XBMC system as MediaCenter / TV Tuner on my home. Im running ZM on other linux box.
I make simple script which interrupt playing TV channel and start play my gate camera streams from ZM to XBMC ( my TV ).

I dont know how run script when ZM detected any move in my zone ( like zone in front gate monitor ).
But it must run only once and sleep some while - dont need start streaming few times in one minute.

Any idea ?