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
|
5 months ago | |
---|---|---|
examples | 6 months ago | |
packages/runner | 5 months ago | |
resources | 6 months ago | |
storage | 6 months ago | |
.gitignore | 6 months ago | |
LICENSE | 2 years ago | |
README.md | 6 months ago | |
bun.lockb | 6 months ago | |
package.json | 6 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.