From 508a3567a31418bcab42108eb9fec8a82bae333b Mon Sep 17 00:00:00 2001 From: Nikolas Tsiongas Date: Sun, 25 Sep 2016 19:45:51 +0200 Subject: [PATCH] Fixed cron services --- docker-entrypoint.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 0e97768..ca5e900 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -17,13 +17,13 @@ if [ "$1" = 'start' ]; then # cron shell chmod +x /usr/share/nginx/html/server/php/shell/*.sh - echo '*/5 * * * * php /usr/share/nginx/htmlserver/php/shell/indexing_to_elasticsearch.sh' > /var/spool/cron/root - echo '*/5 * * * * php /usr/share/nginx/htmlserver/php/shell/instant_email_notification.sh' > /var/spool/cron/root - echo '0 * * * * php /usr/share/nginx/htmlserver/php/shell/periodic_email_notification.sh' > /var/spool/cron/root - echo '*/5 * * * * php /usr/share/nginx/htmlserver/php/shell/webhook.sh' > /var/spool/cron/root - echo '*/5 * * * * php /usr/share/nginx/htmlserver/php/shell/card_due_notification.sh' > /var/spool/cron/root - echo '*/5 * * * * php /usr/share/nginx/htmlserver/php/shell/imap.sh' > /var/spool/cron/root - + echo '*/5 * * * * php /usr/share/nginx/htmlserver/php/shell/indexing_to_elasticsearch.sh' >> /var/spool/cron/root + echo '*/5 * * * * php /usr/share/nginx/htmlserver/php/shell/instant_email_notification.sh' >> /var/spool/cron/root + echo '0 * * * * php /usr/share/nginx/htmlserver/php/shell/periodic_email_notification.sh' >> /var/spool/cron/root + echo '*/5 * * * * php /usr/share/nginx/htmlserver/php/shell/webhook.sh' >> /var/spool/cron/root + echo '*/5 * * * * php /usr/share/nginx/htmlserver/php/shell/card_due_notification.sh' >> /var/spool/cron/root + echo '*/5 * * * * php /usr/share/nginx/htmlserver/php/shell/imap.sh' >> /var/spool/cron/root + # media cp -R /tmp/media /usr/share/nginx/html/ chmod -R go+w /usr/share/nginx/html/media