docker-cron
minimal crontab container
docker run -d \
-v /path/on/host/croncontainer/crond.d:/etc/crond.d \
-v /var/run/docker.sock:/var/run/docker.sock \
trueosiris/cron
A base folder structure will be created in volume crond.d
example tree of /path/on/host/croncontainer/crond.d/
├── 15min
│ └── echo_date.sh
├── daily
├── hourly
├── min
├── monthly
└── weekly
content of echo_date.sh
#!/bin/sh
date
PS: /bin/bash is not installed.