Skip to content

Commit

Permalink
rqflush documentation [see rq#218]
Browse files Browse the repository at this point in the history
  • Loading branch information
depaolim committed Feb 14, 2017
1 parent c8d00f5 commit 3708943
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,18 @@ with the path to your queue class::

python manage.py rqworker high default low --queue-class 'path.to.CustomQueue'

Queues cleanup
---------------
django_rq provides a management command that flushes the queue specified as argument::

python manage.py rqflush --queue high

If you don't specify any queue it will flush the default

You can suppress confirmation message if you use the option --noinput

python manage.py rqflush --queue high --noinput

Support for RQ Scheduler
------------------------

Expand Down

0 comments on commit 3708943

Please sign in to comment.