From 516a0b0230dfc2ca09f945b4ac89c4465dddc9d1 Mon Sep 17 00:00:00 2001 From: Jason Gegere Date: Sat, 22 Jul 2017 00:18:57 -0600 Subject: [PATCH] enable cron service --- Dockerfile | 1 + app/supervisord | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c1109e1..62bb9ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,7 @@ RUN apt-get update && apt-get install -yq --no-install-recommends python-softwar imagemagick \ libmagickwand-dev \ supervisor \ + cron \ rsyslog \ postfix && apt-get clean && rm -rf /var/lib/apt/lists/* diff --git a/app/supervisord b/app/supervisord index febf825..150f83e 100644 --- a/app/supervisord +++ b/app/supervisord @@ -2,7 +2,7 @@ nodaemon=true [program:crond] -command=/usr/sbin/cron -f +command=cron -f -L 15 process_name=%(program_name)s autostart=true autorestart=true