Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 License.txt
Octocat-spinner-32 README.markdown
Octocat-spinner-32 delayed_task.gemspec
README.markdown

delayed_task

delayed_task allows you to run any rake task in the background using delayed_job.

Install

# Gemfile
gem 'delayed_task'


# Rakefile (at the end)
require 'tasks/delayed_tasks' 

Usage

Add delay: to the start of any rake task e.g.

$ rake delay:db:seed

rake db:seed will now be run in the background as a delayed_job

Something went wrong with that request. Please try again.