Delayed_Job Rake Tasks

Here's a list of the rake tasks you can perform with delayed job. The source code that I pulled this list from is delayed_job/lib/delayed/tasks.rb.

  • rake jobs:clear
    • Clear the delayed_job queue.
  • rake jobs:work
    • Start a delayed_job worker.
  • rake jobs:workoff
    • Start a delayed_job worker and exit when all available jobs are complete.
  • rake jobs:check
    • Exit with error status if any jobs older than max_age seconds haven't been attempted yet.