Have ideas to improve npm?Join in the discussion! »

    @runnerty/executor-check-online-service

    3.1.0 • Public • Published

    A new way for processes managing

    NPM version Downloads Dependency Status code style: prettier

    Check-online-service executor for Runnerty:

    Installation:

    Through NPM

    npm i @runnerty/executor-check-online-service

    You can also add modules to your project with runnerty-cli

    npx runnerty-cli add @runnerty/executor-check-online-service

    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-check-online-service

    Configuration sample:

    Add in config.json:

    {
      "id": "check_online_service_default",
      "type": "@runnerty-executor-check-online-service"
    }

    Plan sample:

    Add in plan.json:

    {
      "id":"check_online_service_default",
      "hostname": "http://www.google.com/en",
      "check_contains": "I'm Feeling Lucky"
    }

    Plan advanced:

    Add in plan.json:

    {
      "id":"check_online_service_default",
      "hostname": "http://www.google.com/en",
      "check_contains": "I'm Feeling Lucky",
      "method": "GET",
      "auth":{
        "user": "user",
        "pass": "password",
      }
    }
    {
      "id":"check_online_service_default",
      "hostname": "http://www.myservice.com/api/health",
      "headers": { "User-Agent": "runnerty", "Content-Type": "application/json" }
    }
    {
      "id":"check_online_service_default",
      "hostname": "http://www.myservice.com/api/health",
      "timeout": "5s"
    }

    Install

    npm i @runnerty/executor-check-online-service

    DownloadsWeekly Downloads

    13

    Version

    3.1.0

    License

    MIT

    Unpacked Size

    10.3 kB

    Total Files

    11

    Last publish

    Collaborators

    • avatar