@runnerty/executor-wait
v3.1.0
Published
Runnerty module: wait executor
Downloads
13
Readme
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"
}