Simple and small webcron docker container based an alpine linux with curl. Ideal for updating your DynDNS or triggering a website on a regular basis.
Simply run the following command:
docker run --name "webcron" -e INTERVAL_TIME="300" -e URL="https://example.com/cron.php" -e CURL_PARAM="--insecure" cw1900/docker-webcron
Include docker-webcron in a docker-compose.yaml file:
version: '3.8'
services:
webcron:
image: cw1900/docker-webcron
restart: always
environment:
- INTERVAL_TIME=300
- URL=https://example.com/cron.php
The URL which getting pulled by curl.
Set the interval time between polling in seconds. Default is 300.
Optional parameters for cURL.