@runnerty/executor-redis

3.0.5 • Public • Published

Smart Processes Management

NPM version Downloads Dependency Status code style: prettier

Redis executor for Runnerty:

Installation:

Through NPM

npm i @runnerty/executor-redis

You can also add modules to your project with runnerty

npx runnerty add @runnerty/executor-redis

This command installs the module in your project, adds example configuration in your config.json and creates an example plan of use.

If you have installed runnerty globally you can include the module with this command:

runnerty add @runnerty/executor-redis

Configuration sample:

{
  "id": "redis_default",
  "type": "@runnerty-executor-redis",
  "password": "redis_password",
  "host": "redishost.com",
  "port": "6379",
  "db": 0,
  "options": {}
}

More info about options here.

Plan sample:

{
  "id":"redis_default",
  "command_file": "/etc/runnerty/redis_files/test.txt"
}
{
  "id":"redis_default",
  "command": "KEYS *"
}

Output (Process values):

  • PROCESS_EXEC_DATA_OUTPUT: Redis output message.
  • PROCESS_EXEC_ERR_OUTPUT: Error output message.

Readme

Keywords

Package Sidebar

Install

npm i @runnerty/executor-redis

Weekly Downloads

9

Version

3.0.5

License

MIT

Unpacked Size

12.1 kB

Total Files

13

Last publish

Collaborators

  • coderty