You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
HerrHase
4e926a28be
|
7 months ago | |
---|---|---|
examples | 7 months ago | |
packages/runner | 7 months ago | |
resources | 7 months ago | |
storage | 7 months ago | |
.gitignore | 7 months ago | |
LICENSE | 2 years ago | |
README.md | 7 months ago | |
bun.lockb | 7 months ago | |
package.json | 7 months ago |
README.md
super-hog
Super Hog is a kind of process runner. It can be Custimize and build a frame to runs Tasks with different Configurations. Tasks will be configured in a File by Yaml. Like this,
name: "Lorem Ipsum RSS"
url: "https://lorem-rss.herokuapp.com/feed"
cron: "0 1 * * *"
actions:
- class: "RssExample"
All Yaml-Files that have to be run, have to put in "resources/config/enabled".
Action
Action Classes are find in "resources/actions". Each Action runs one after another, and his result will be hand over to the next Action Class. For this you have access in each Object to a Docket Object. By Default all data will be set to this.result in a Action. If the class do nothing I/O will be the same.
Docket
The Docket-Object is holds all Data, States and Configurations. It run to all Actions.