This repository is used for building a Docker image containing Cron
docker pull scalified/cron
CRONTABS_DIR
- the directory where system wide crontab is located (default/etc/crontabs
)CRON_STDOUT_FILE
- the log file used to output cron's stdoutCRON_STDERR_FILE
- the log file used to output cron's stderr
/etc/crontabs
, unlessCRONTABS_DIR
argument overrides it
docker build . -t scalified/cron:<tag>
docker run -it scalified/cron /bin/sh