kue-cli
A simple CLI tool for managing Kue tasks
Last updated 4 years ago by mirekmencel .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install kue-cli 
SYNC missed versions from official npm registry.

A simple CLI tool for managing Kue tasks

Kue-cli is a command line job management client for Kue.

Installation

npm install kue-cli

If installed with npm Kue-cli registers kue-cli executable (alias to ./index.coffee) via npm bin section. Depending on whether you install it locally or globally the kue-cli command is available in one of your node_modules/.bin/ folders.

NOTE: At the moment Kue-cli requires coffee interpreter.


Commands

stats

Display number of active, complete, delayed, failed and stuck (but active) tasks

./index.coffee stats

Paramaters:

-t [seconds] — it applies only to stuck-active tasks. Number of seconds between task's last update_at and now() determining the task is stuck

Example:

./index.coffee stats -t 600 displays stats including active tasks not being updated for the last 10 minutes

watch

It's a self-refreshing version of stats command

./index.coffee watch

list

List jobs of given status. limit to 50 by default.

./index.coffee list [active|complete|delayed|failed|stuck] [limit]

Example:

./index.coffee list complete 50 displays last 10 complete tasks

job

Show job with a given id

./index.coffee job [id]

Parameters:

-i — open job data in REPL

Examples:

./index.coffee job 5031 outputs job #5031

./index.coffee job 3501 -i opens job #3501 in interactive REPL

Bugs & progress

https://overv.io/workspace/mirekm/adorable-salamander/

License

MIT

Current Tags

  • 0.0.10                                ...           latest (4 years ago)

8 Versions

  • 0.0.10                                ...           4 years ago
  • 0.0.9                                ...           4 years ago
  • 0.0.8                                ...           5 years ago
  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 8
Dependencies (10)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2014 - 2016 © taobao.org |