Sign inSign up

successage/webcron

By successage

•Updated over 4 years ago

cron webhook

Image
0

329

successage/webcron repository overview

cron webhook

⁠run server

docker run --rm --name webcron -p 8509:8509 --add-host=mongodb-service:10.10.0.200 -e WEBCRON_MONGO_URL=mongodb://mongodb-service:27017 successage/webcron

⁠client

⁠job list
curl --request GET \
  --url http://localhost:8509/jobs
⁠create job
curl --request POST \
  --url http://localhost:8080/jobs \
  --header 'Content-Type: application/json' \
  --data '{
	"name":"job3",
	"schedule":"0 57 15 16 2 *",
	"webhook":{
		"template":"{\"name\":\"go template viarable\"}",
		"method":"GET",
		"params":{"nickname":"momo"},
		"url":"http://localhost:8100"
	}
}'

github: https://github.com/ahkimkoo/webcron⁠

Tag summary

Content type

Image

Digest

Size

11.1 MB

Last updated

over 4 years ago

docker pull successage/webcron