cron webhook
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
curl --request GET \
--url http://localhost:8509/jobs
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"
}
}'
Content type
Image
Digest
Size
11.1 MB
Last updated
over 4 years ago
docker pull successage/webcron