3.0.5 • Published 4 years ago
@runnerty/executor-redis v3.0.5
Redis executor for Runnerty:
Installation:
Through NPM
npm i @runnerty/executor-redisYou can also add modules to your project with runnerty
npx runnerty add @runnerty/executor-redisThis 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-redisConfiguration 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.