I would suggest finding a Streaming API client in the stack of your choice and writing a little application around the client. I'd then wrap your client with daemon(1) and start it all from init.d. Unless carefully considered, shortcuts are likely to be less reliable or will eventually cause you to be banned.
-John Kalucki http://twitter.com/jkalucki Infrastructure, Twitter Inc. On Mon, Jan 25, 2010 at 2:10 AM, Marco <marco.pennacchio...@gmail.com> wrote: > Hi all, > I know this could have been answered already, but I could not find any > post so far. > > Does anybody has a simple shell/python/perl script to download the > gardenhose sample continuously, in a fault tolerant way, avoiding too > many requests (i.e. be banned). > My idea would be to launch every say 10 minutes: > > curl http://stream.twitter.com/1/statuses/sample.json > tweets.$(date + > %s) > > but i dont know how to make it fault tolerant etc etc... > > Thanks! > Marco >