Skip to content

Commit 2c9d0e7

Browse files
committed
Updated crontab scheduler inclusion
1 parent 57195ea commit 2c9d0e7

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.project
2+
/.settings/
3+
/.buildpath

apache-php-xdebug/php7/Dockerfile

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
FROM webdevops/php-apache-dev:alpine-php7
22

3-
# RUN service apache2 stop
4-
# RUN apt-get update
5-
# RUN apt-get -y install software-properties-common
6-
# RUN apt-get install php7-xdebug
7-
# RUN echo "xdebug.remote_enable=on" >> /etc/php7/mods-available/xdebug.ini \
8-
# && echo "xdebug.remote_autostart=on" >> /etc/php7/mods-available/xdebug.ini \
9-
# && echo "xdebug.remote_connect_back=on" >> /etc/php7/mods-available/xdebug.ini
10-
# RUN service apache2 restart
11-
123
RUN echo "Europe/Madrid" > /etc/timezone
134

145
RUN touch /var/log/cron.log && \
15-
echo "* * * * * php /var/www/html/bootstrap.php modules/ximSYNC/scripts/scheduler/scheduler.php" >> mycron && \
6+
echo "* * * * * php /var/www/html/bootstrap.php src/Sync/scripts/scheduler/scheduler.php" >> mycron && \
167
crontab mycron && rm mycron
178

189
RUN crond

nginx-php/php7/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ ADD ./nginx.conf /etc/nginx/
55
RUN echo "Europe/Madrid" > /etc/timezone
66

77
RUN touch /var/log/cron.log && \
8-
echo "* * * * * php /var/www/html/bootstrap.php modules/ximSYNC/scripts/scheduler/scheduler.php" >> mycron && crontab mycron && rm mycron
8+
echo "* * * * * php /var/www/html/bootstrap.php src/Sync/scripts/scheduler/scheduler.php" >> mycron && crontab mycron && rm mycron
9+
910
RUN crond

0 commit comments

Comments
 (0)