https://github.com/mapikit/cronjob-protocol
Run functions in a timely fashion
https://github.com/mapikit/cronjob-protocol
Last synced: 5 months ago
JSON representation
Run functions in a timely fashion
- Host: GitHub
- URL: https://github.com/mapikit/cronjob-protocol
- Owner: mapikit
- License: gpl-3.0
- Created: 2021-08-17T23:21:42.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-12T03:38:42.000Z (almost 3 years ago)
- Last Synced: 2025-09-21T05:33:52.284Z (9 months ago)
- Language: TypeScript
- Size: 304 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Cronjob Protocol
Run your BOps in [meta-system](https://github.com/mapikit/meta-system) in a timely fashion.
## How to use it
This protocol is meant to be downloaded as a plugin for meta-system. A simple mention of the name on your system configuration would be enough for downloading it!
```JSON
{
"protocols": [
{
"configuration": {...},
"protocolType": "cronjob-protocol",
"protocolVersion": "latest"
}
]
}
```
## Configuration
The configuration for this protocol is an object with three properties: `bopsName`, `periodMillis`, `arguments`.
- **bopsName**: The name of the BOp you want to execute.
- **periodMillis**: The time interval in which you want to run the function, in milliseconds.
- **arguments**: The arguments for your BOp when it is run. These arguments are hardcoded.