2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-06-17 09:07:54 +02: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