2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-05-24 22:24:57 +02:00
docker/2018.05/apache/cron.sh
Philipp Holzer 4877b846a8
Bugfixings
- directory for worker.php changed to `bin/`
- `composer install` isn't necessary for stable images
- copy_sources should work for future *-rc branches too
2018-06-09 14:55:51 +02:00

11 lines
180 B
Bash

#!/bin/sh
trap "break;exit" HUP INT TERM
while [ ! -f /var/www/html/.htconfig.php ]; do
sleep 1
done
while true; do
php -f /var/www/html/bin/worker.php
sleep 10m
done