Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (7 sloc) 232 Bytes
require 'rubygems'
require 'rufus/scheduler'
scheduler = Rufus::Scheduler.start_new
# => The scheduler calls this method evey minute, you can set it to whatever interval you like
scheduler.every("1m") do
Tweet.scheduled_check
end
You can’t perform that action at this time.