Feature #14

Determine a Good Way (tm) to fetch follower Tweets

Added by Matt Platte almost 3 years ago. Updated 6 months ago.

Status:Closed Start date:02/15/2009
Priority:High Due date:03/15/2009
Assignee:Matt Platte % Done:

0%

Category:- Spent time: -
Target version:v0.3 Estimated time:2.00 hours

Description

Apparently it can replace all that BackgroundRB business without extra server processes and such.

http://intridea.com/2009/2/13/dead-simple-task-scheduling-in-rails?blog=company

Works with teh Google Reader: http://blog.logeek.fr/2009/11/27/how-to-use-google-calendar-and-rufus-google-for-time-tracking

History

Updated by Matt Platte almost 3 years ago

  • Subject changed from Rufus Scheduler to Rufus Scheduler instead of BackgrounDRb?

Updated by Matt Platte over 2 years ago

  • Target version set to v0.1

Updated by Matt Platte over 2 years ago

Hey! Look at http://github.com/javan/whenever/tree/master as a Ruby-based cron builder.

Updated by Matt Platte over 2 years ago

  • Target version changed from v0.1 to v0.3

Updated by Matt Platte about 2 years ago

http://www.therailsway.com/2009/7/22/do-it-later-with-delayed-job

Delayed Job. Not as good a fit as Rufus, since DJ is more an event-based solution instead of Cron-style

Updated by Matt Platte about 2 years ago

With Rufus, I'd need to write the SQL to see if the tweet had been fetched yet - yes, that same SQL that's cluttering up the log.

Updated by Matt Platte 6 months ago

  • Priority changed from Normal to High

Updated by Matt Platte 6 months ago

Do I really need all this added complexity? Why can't I just have cron execute a ruby script every few minutes and that's that? One added benefit/drawback is that the activity can bypass the ever-bloated log files. Or I guess I could add a line to the log manually. Hmmm...

Updated by Matt Platte 6 months ago

  • Subject changed from Rufus Scheduler instead of BackgrounDRb? to Determine a Good Way (tm) to fetch follower Tweets

Updated by Matt Platte 6 months ago

Solved.

  • github/javan/whenever
  • rake twitterfetcher:get_tweets

Took a while to get whenver working, thanks to an Ubuntu+RVM false detour and wild goosechase. Seems that a periodic whenver --clear-crontab can work like Fletcher's Castoria.

THIS WILL NEED ATTENTION WHEN PUSHING TO PRODUCTION!

Updated by Matt Platte 6 months ago

  • Status changed from New to Closed

lj@hlk@@@hl

Also available in: Atom PDF