Hi there. I’ve been working on a PHP script that I would eventually like to have running 24/7 - it scans my twitter feed for new mentions and alerts me, plus gives me the ability to autoreply to mentions.
My question is this: Right now, in the testing phase, to run the script I go to www.myurl.com/mytestscript.php
Eventually I’d like to just have it running without having that URL be available. Ideally I’d have a separate page that would allow me to turn the script on and off or customize various elements.
How does one execute a PHP script without loading it as a URL.
Is it practical to have a PHP script running in an infinite loop (or as a chron job of sorts)
Is it possible to send a ‘break’ command of some kind of that script?