0.0
No commit activity in last 3 years
No release in over 3 years
resque_cmdline: simple command-line client for resque workers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

>= 1.7.5
>= 3.0.2
 Project Readme

resque_cmdline

This is a simple command-line client for showing info about queues and workers from resque or sidekiq.

resque_cmdline does not use resque or sidekiq gems, but extracts info directly from redis. This should be an order of magnitude faster when querying a redis server over a slow (vpn over internet) connection.

Usage

rq [options] command [-e shell_command]

where command is one of: queues workers failed running pending stats. Commands may be be shortened to their shortest unique beginning.

See option list using -h.

Example

Show ps listing for all running jobs older than 1 hour:

rq running -o 1h -e ssh {host} ps -lfp {pid}

Config

Configure your environments and redis servers in ~/.rq.yml. For example:

environments:
  production:  redis-01:6379
  staging:     redis-stg-01:6379
  development: localhost:6379

environment: production

License

See included file LICENSE.

Copyright

Copyright (c) 2012 Richard Lister.