https://github.com/rorpage/openfaas-crondog
Cron-based scheduler for OpenFaaS functions
https://github.com/rorpage/openfaas-crondog
Last synced: 4 months ago
JSON representation
Cron-based scheduler for OpenFaaS functions
- Host: GitHub
- URL: https://github.com/rorpage/openfaas-crondog
- Owner: rorpage
- Created: 2018-05-30T12:53:07.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-30T12:54:50.000Z (about 8 years ago)
- Last Synced: 2026-03-28T00:22:57.718Z (4 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# crondog for OpenFaaS
Clone this repo and build a crondog container with the following:
```
docker build -t rorpage/crondog .
```
The Docker build will compile the crondog binary and copy it to an image for you.
Next, run the container and pass in 3 environment variables:
```
docker run -it --rm --net="host" \
-e "cron_schedule=@every 1s" \
-e "function_url=http://127.0.0.1:8080/function/func_wordcount" \
-e "function_data=This is a super long test string woohoo" rorpage/crondog
```