Skip to content

Commit

Permalink
added the command cron will need to run issue #14
Browse files Browse the repository at this point in the history
  • Loading branch information
tabroughton committed Aug 17, 2019
1 parent 2baffd2 commit c120f6f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ RUN set -ex; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
openssl \
libzip-dev \
openssl \
libzip-dev \
libjpeg-dev \
libpng-dev \
libpq-dev \
Expand Down
8 changes: 7 additions & 1 deletion docker/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@ install_backdrop(){
chmod -R 760 build/files/civicrm/upload/
chmod -R 760 build/files/civicrm/custom/


# this is the command to run as cron job
# it may be better for the host to run the cron
# see issue #14
./vendor/bin/drush civicrm-api job.execute \
-r ./build \
-l $CIVICRM_HOSTNAME:8080 \
-u admin
}

# let's check to see if composer has already installed the files
Expand Down

0 comments on commit c120f6f

Please sign in to comment.