2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-11-13 13:03:41 +01:00
docker/2018.08-dev/fpm-alpine/cron.sh
Philipp Holzer 7c19b91609
Upgrade VERSION
- delete 2018.05-rc (develop)
- add 2018.05 (stable/latest)
- add 2018.08-dev (develop)
2018-06-01 19:03:37 +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