@runnerty/executor-wait

3.1.0 • Public • Published

Smart Processes Management

NPM version Downloads code style: prettier

Wait executor for Runnerty:

Module for the creation of waiting processes.

Installation:

npm i @runnerty/executor-wait

You can also add modules to your project with runnerty

npx runnerty add @runnerty/executor-wait

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-wait

Configuration:

Add in config.json:

{
  "id": "wait_default",
  "type": "@runnerty-executor-wait",
  "time": "1 min"
}

Plan:

Add in plan.json:

{
  "id": "wait_default",
  "time": "30s"
}
{
  "id": "wait_default",
  "time": "3s",
  "output": "Hello @GETDATE('YYYY-MM-DD')"
}

We can make it end up failing by indicating the error message:

{
  "id": "wait_default",
  "time": "0s",
  "error": "Caused error for testing"
}

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @runnerty/executor-wait

Weekly Downloads

5

Version

3.1.0

License

MIT

Unpacked Size

8.19 kB

Total Files

11

Last publish

Collaborators

  • coderty