Skip to content
kimptoc edited this page Sep 14, 2010 · 4 revisions

How to install:

Get Delayed Job –
script/plugin install git://github.com/collectiveidea/delayed_job.git

setup the DB migration – see here

run DB migration to create the table.

Get Repeated Job –
script/plugin install git://github.com/ddollar/repeated_job.git

Start your server… but I get this error:

Exception encountered, Repeated::Cron not loaded
uninitialized constant Delayed::Job

Seems access to Job class has changed, needed to do this in

Delayed::Backend::ActiveRecord::Job.delete_all “handler like ‘Repeated::Job’” Delayed::Backend::ActiveRecord::Job.enqueue self, priority, interval.minutes.from_now.getutc

in repeated_job.rb

Although I still cant seem to get the jobs to run :( (please ignore the pull request – I deleted my fork due to the problem)

Clone this wiki locally