PepperCron is a distributed cron job management system
/v1/jobsPOSTapplication/json{
"name": "echo_job",
"type": 0,
"times": 0,
"schedule": "@every 1m",
"executor_type": 0,
"executor_params": ["sleep", "2"],
"executor_timeout": 1000000000,
"environment_variables": [],
"tag": "test",
"dependent_jobs": [],
"concurrency": 2
}
/v1/jobs/<job_name>DELETERun the Docker Compose config:
cd deploy
docker-compose up -d --build --scale peppercron=2
The above commands will create one etcd and 2 peppercron instances.
Check peppercron port mapping using docker-compose ps
Content type
Image
Digest
Size
13.3 MB
Last updated
over 6 years ago
docker pull huajiao/peppercron