https://github.com/runnerty/executor-redis
Runnerty module: Redis executor
https://github.com/runnerty/executor-redis
executor redis runnerty
Last synced: 10 months ago
JSON representation
Runnerty module: Redis executor
- Host: GitHub
- URL: https://github.com/runnerty/executor-redis
- Owner: runnerty
- License: mit
- Created: 2017-04-07T14:39:22.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-01T06:21:48.000Z (over 1 year ago)
- Last Synced: 2025-03-18T05:53:43.717Z (11 months ago)
- Topics: executor, redis, runnerty
- Language: JavaScript
- Size: 186 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Smart Processes Management
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Dependency Status][david-badge]][david-badge-url]
# Redis executor for [Runnerty]:
### Installation:
Through NPM
```bash
npm i @runnerty/executor-redis
```
You can also add modules to your project with [runnerty]
```bash
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:
```bash
runnerty add @runnerty/executor-redis
```
### Configuration sample:
```json
{
"id": "redis_default",
"type": "@runnerty-executor-redis",
"password": "redis_password",
"host": "redishost.com",
"port": "6379",
"db": 0,
"options": {}
}
```
More info about options [here.](https://github.com/NodeRedis/node-redis/blob/master/README.md#options-object-properties)
### Plan sample:
```json
{
"id":"redis_default",
"command_file": "/etc/runnerty/redis_files/test.txt"
}
```
```json
{
"id":"redis_default",
"command": "KEYS *"
}
```
### Output (Process values):
* `PROCESS_EXEC_DATA_OUTPUT`: Redis output message.
* `PROCESS_EXEC_ERR_OUTPUT`: Error output message.
[Runnerty]: https://www.runnerty.io
[downloads-image]: https://img.shields.io/npm/dm/@runnerty/executor-redis.svg
[npm-url]: https://www.npmjs.com/package/@runnerty/executor-redis
[npm-image]: https://img.shields.io/npm/v/@runnerty/executor-redis.svg
[david-badge]: https://david-dm.org/runnerty/executor-redis.svg
[david-badge-url]: https://david-dm.org/runnerty/executor-redis
[config.json]: http://docs.runnerty.io/config/
[plan.json]: http://docs.runnerty.io/plan/