title: Check If my php file running or not?if not run file
body: <p>i have written one PHP twitter streaming code,which continuosly search or filter live tweets. i have question that , if suppose file stops because of any network failure,so there should be functionality that which identifies that ,the file has stopped , RUN it again. and if already running do nothing.any help?</p>