Skip to content
An example of running cron job in a docker container.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
alpine
ubuntu Initial commit. Jul 15, 2018
README.md Add Alpine 3.8 usage example. Update README. Jul 15, 2018

README.md

An example of running cron job in a docker container.

Check the https://crontab.guru to find more crontab expressions.

Ubuntu 18.04

~125 Mb

docker build --rm -t thelebster/ubuntu-cron-example ./ubuntu
docker run -ti --rm --name ubuntu-cron-example -d thelebster/ubuntu-cron-example

Alpine 3.8

~5 Mb

docker build --rm -t thelebster/alpine-cron-example ./alpine
docker run -ti --rm --name alpine-cron-example -d thelebster/alpine-cron-example
You can’t perform that action at this time.