Skip to content

Instantly share code, notes, and snippets.

@jnarowski
Created June 24, 2012 19:20
Show Gist options
  • Save jnarowski/2984553 to your computer and use it in GitHub Desktop.
Save jnarowski/2984553 to your computer and use it in GitHub Desktop.
#!/usr/bin/env rake
require 'resque/tasks'
require 'resque_scheduler/tasks'
task 'resque:setup' => :environment
task "resque:scheduler_setup" => :environment
require File.expand_path('../config/application', __FILE__)
Karmacrm3App::Application.load_tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment