Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 325 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 325 Bytes

docker-cron

Linux cron running inside a container, with a few utilities made available on top (jq, curl).

How to use

docker run --name some \
    -v $(pwd):/cron/ \
    wanderadock/docker-cron start-cron --user www-data \
    "\* \* \* \* \* /bin/bash -c '/cron/your_command.sh' >> /var/log/cron.log 2>&1"