Skip to content

wandera/docker-cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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"