Wondering what’s next for npm?Check out our public roadmap! »

    @runnerty/executor-redis

    3.0.4 • 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-cli

    npx runnerty-cli 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-cli globally you can include the module with this command:

    rty 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.

    Install

    npm i @runnerty/executor-redis

    DownloadsWeekly Downloads

    18

    Version

    3.0.4

    License

    MIT

    Unpacked Size

    12.2 kB

    Total Files

    13

    Last publish

    Collaborators

    • avatar