2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-11-14 14:03:43 +01:00
docker/docker-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
184 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/%%DIR%%/worker.php
sleep 10m
done