@runnerty/executor-redis
v3.0.5
Published
Runnerty module: Redis executor
Downloads
33
Readme
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.