Skip to content

Commit 0d68876

Browse files
committed
2 parents e24bb0c + 46bba02 commit 0d68876

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ RUN sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 500M/g' /etc/php84/
7474
# On every run of the docker file, perform an entrypoint that verifies the container is good to go.
7575
COPY entrypoint.sh /usr/bin/
7676

77+
# Create crontab entries
78+
7779
RUN echo "0 1 * * * /usr/bin/php84 /var/www/localhost/htdocs/scripts/cron.php" >> /etc/crontabs/apache
7880
RUN echo "* * * * * /usr/bin/php84 /var/www/localhost/htdocs/scripts/cron_ticket_email_parser.php" >> /etc/crontabs/apache
7981
RUN echo "* * * * * /usr/bin/php84 /var/www/localhost/htdocs/scripts/cron_mail_queue.php" >> /etc/crontabs/apache

0 commit comments

Comments
 (0)