Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated scheduler

  • Loading branch information...
commit 7be07ec4e40d044b8f25f9b314e4cc9ce6276617 1 parent f16fa00
@suttree authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/tasks/scheduler.rake
View
3  lib/tasks/scheduler.rake
@@ -5,7 +5,8 @@ end
desc "Import tweets and store the resulting linked content"
task :cron => :environment do
- User.twitter.order('random()').each do |user|
+ # Pick 4 random users and me, then parse their twitter feeds for links
+ (User.twitter.order('random()').limit(4) << User.find(37)).each do |user|
puts "Running cron for #{user.login} at #{Time.now}"
setup_twitter_for(user)
Please sign in to comment.
Something went wrong with that request. Please try again.