{
"tasks": [
{
"name": "GitHub",
"url": "https://api.github.com/",
"body": "",
"cron": "*/5 * * * * *",
"timezone": "Asia/Shanghai",
"method": "GET",
"headers": {},
"timeout": 30,
"no_body": false,
"decryption": "",
"http_proxy": "http://127.0.0.1:7890",
"https_proxy": "http://127.0.0.1:7890"
}
]
}
docker pull starudream/cronjob
docker run -d \
--name cronjob \
--restart always \
-v /opt/docker/cronjob/config.json:/config.json \
starudream/cronjob:latest