Skip to content

Commit

Permalink
Merge branch 'patch-1' of https://github.com/allenhancock/delayed_job
Browse files Browse the repository at this point in the history
…into allenhancock-patch-1

* 'patch-1' of https://github.com/allenhancock/delayed_job:
  Adding information about restarting delayed jobs
  • Loading branch information
bryckbost committed Apr 30, 2013
2 parents 3ce54db + 474741f commit be8405e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Expand Up @@ -201,6 +201,20 @@ Work off queues by setting the `QUEUE` or `QUEUES` environment variable.

QUEUE=tracking rake jobs:work
QUEUES=mailers,tasks rake jobs:work

Restarting delayed_job
======================

The following syntax will restart delayed jobs:

RAILS_ENV=production script/delayed_job start

To restart multiple delayed_job workers:

RAILS_ENV=production script/delayed_job -n2 restart




Custom Jobs
===========
Expand Down

0 comments on commit be8405e

Please sign in to comment.