You can actually also make PHP scripts run as a daemon, or as a CLI
application that you can call via cron every minute. I've done this in
the past, but it was years ago. Do a quick google search for "run php
script as daemon" and you'll find plenty of help and examples...
On Oct 1, 2009, at 1:53 AM, Andrew Badera <and...@badera.us> wrote:
You have to think beyond PHP.
1) Consider having a third-party ping monitoring utility ping your PHP
script to hit the Search API for the tag once a minute.
2) Write something in Python or Ruby or C++ and have it run on the
server as a daemon, once a minute. Or have curl or something else
local on the server cron'd to call your script once a minute.
3) Chad Etzel's TweetHook might be a more real-time option for you
and would remove the necessity of you doing something once a minute --
I would definitely check it out. It will automagically post search
data back to your hook callback URL.
∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera
On Thu, Oct 1, 2009 at 4:27 AM, Chris <bigonr...@googlemail.com>
wrote:
I want to write a tool that monitors a channel, say #startnow, and
checks say, every minute, to see if its been updated.
How would I do this? I'm good with php, but won't that only check
every time someone loads a php page? How do people like @hashphp
reply
to everyone that posts in #php?
Thanks,
Chris