mauricionr / docker_cron

Simple project to run scripts with crontab on docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker cron

Simple project to run sh, python or ruby scripts with crontab on docker.

Pre-requisites

  1. docker
  2. docker-compose

Running

docker-compose up will put the container up and running.

Access the container and see the log file.

docker-exec -it docker_cron_scripts_1 sh

cat /var/log/script.log

About

Simple project to run scripts with crontab on docker


Languages

Language:Dockerfile 38.6%Language:Python 29.4%Language:Shell 21.2%Language:Ruby 10.8%