Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 382 Bytes

File metadata and controls

24 lines (14 loc) · 382 Bytes

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