A crontab-like service that will send HTTP requests to any endpoints you setup in a timely manner.
- Install with:
npm i -g cronenberg
. - Write your config file in the following format:
cook-hen:
spec: "* * * * *" # Crontab spec
method: post
url: http://kitchen/dish
body: some hen, please # Optional
headers: # Optional
Content-Type: text/plain
boil-water:
spec: "1,30 * * * *"
method: post
url: http://kitchen/hot-water
# ...
- Run in the terminal with:
cronenberg -c path/to/conf.yml
.
The official image repository in Docker Hub is gcsboss/cronenberg
.
Run like this: docker run -v /path/to/your/conf.yml:/usr/src/app/conf.yml gcsboss/cronenberg
If you have found any problems with this module, please:
- Open an issue.
- Describe what happened and how.
- Also in the issue text, reference the label
~bug
.
We will make sure to take a look when time allows us.
If you wish to get that awesome feature or have some advice for us, please:
- Open an issue.
- Describe your ideas.
- Also in the issue text, reference the label
~proposal
.
If you have spotted any enhancements to be made and is willing to get your hands dirty about it, fork us and submit your merge request so we can collaborate effectively.