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
- Host: GitHub
- URL: https://github.com/runnerty/trigger-immediate
- Owner: runnerty
- License: mit
- Created: 2021-01-29T17:40:56.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-05T16:49:53.000Z (over 4 years ago)
- Last Synced: 2025-03-18T05:53:44.011Z (over 1 year ago)
- Language: JavaScript
- Size: 90.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Smart Processes Management
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url]
# 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/