Displaying 3 results from an estimated 3 matches for "resque_schedule".
2011 Jan 24
1
passing multiple arguments in resque scheduler
Hi,
I have implemented resque scheduler in my application by looking at
example here https://github.com/bvandenbos/resque-scheduler. I have
configured resque_schedule.yml file, and in that I can pass arguments
to the resque job. My requirement is to pass more than one arguments
to the queueing resque job. If we consider the example given,
clear_leaderboards_contributors:
cron: "30 6 * * 1"
class: ClearLeaderboards
args: contributors
description: "...
2011 Apr 18
2
Problem with resque; parent process doesn't die
I am facing problem in resque process. I have following implementation:
/config/resque_schedule.yml
add_jobs_to_queue:
cron: "15 * * * *"
class: FooJob
description: "Find results from class Bar and put on queue"
/app/jobs/foo_job.rb
class FooJob
@queue = :normal
def self.perform
Bar.add_jobs
end
end
app/models/bar.rb
class Bar
def self.add_jobs...
2012 Dec 04
0
Empty test suite is run after every rake task
...ogger"#, :version => "1.4.0"
gem ''rest-client'', :require => ''rest_client''
gem "daemons"
gem "sinatra", "1.1.4"
gem "resque", "1.13.0"
gem "resque-scheduler", :require => ''resque_scheduler''
gem "unicorn"
gem "multi_json"
gem "geokit", :path => ''vendor/cache/git/geokit'' # :git =>
"git://github.com/seboslaw/geokit-gem.git"#, :version => ''1.5.0''
gem "haml", "~> 3.1"
g...