An open API service indexing awesome lists of open source software.

https://github.com/runnerty/trigger-immediate

Trigger Immediate - For Runnerty internal testing use
https://github.com/runnerty/trigger-immediate

Last synced: over 1 year ago
JSON representation

Trigger Immediate - For Runnerty internal testing use

Awesome Lists containing this project

README

          





Smart Processes Management

[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url]

code style: prettier

# Immediate Trigger for [Runnerty]
Trigger for Runnerty internal testing use.

### Installation:
Through NPM

```bash
npm i @runnerty/trigger-immediate
```

You can also add modules to your project with [runnerty]

```bash
npx runnerty add @runnerty/trigger-immediate
```

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:

```bash
runnerty add @runnerty/trigger-immediate
```
### Configuration:
Add in [config.json]:
```json
{
"triggers": [
{
"id": "immediate",
"type": "@runnerty-trigger-immediate"
}
]
}
```

### Plan sample:
Add in [plan.json]:
```json
{
"triggers": [
{
"id":"immediate"
}
]
}
```
```json
{
"triggers": [
{
"id":"immediate",
"delay": "2s",
"times": 2
}
]
}
```

[Runnerty]: https://www.runnerty.io
[downloads-image]: https://img.shields.io/npm/dm/@runnerty/trigger-immediate.svg
[npm-url]: https://www.npmjs.com/package/@runnerty/trigger-immediate
[npm-image]: https://img.shields.io/npm/v/@runnerty/trigger-immediate.svg
[david-badge]: https://david-dm.org/runnerty/trigger-immediate.svg
[david-badge-url]: https://david-dm.org/runnerty/trigger-immediate
[config.json]: http://docs.runnerty.io/config/
[plan.json]: http://docs.runnerty.io/plan/