A simple Python webcron script that makes web requests at regular intervals to multiple urls.
3.1K
A simple Python webcron script that makes web requests at regular intervals to multiple urls.
The configuration file is a json formated list of jobs. A job is defined by its name, the url to be requested and the request interval in seconds.
Example:
[
{
"name": "Google HTTP",
"url": "http://google.com",
"interval": 5
},
{
"name": "Google HTTPS",
"url": "https://google.com",
"interval": 10
}
]
-v /path/to/local/storage:/usr/src/app/config
docker run -d --name=webcron -v -v /path/to/local/storage:/usr/src/app/config:r topdockercat/webcron:latest
Content type
Image
Digest
Size
46.1 MB
Last updated
about 5 years ago
docker pull topdockercat/webcron