2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-05-20 02:36:41 +02:00
docker/2018.05-rc/fpm/cron.sh
Philipp Holzer b46fae9173
Change update & maintenance process
- Using 2018.05-rc as stable/productionin
- Using "update.sh" for creating the environments (single point of
change)
2018-05-24 21:20:25 +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