2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2025-01-09 07:55:38 +01:00
docker/develop/apache/cron.sh
Philipp Holzer 1362cc34ca
Fixed cron.sh & update
- restored script `friendica` for update & wrapper purpose
- fixed `cron.sh`
2018-05-21 21:32:26 +02:00

14 lines
No EOL
219 B
Bash

#!/bin/sh
set -eu
trap "break;exit" SIGHUP SIGINT SIGTERM
while [ ! -f /var/www/html/.htconfig.php ]; do
sleep 1
done
while true; do
cd /var/www/html
php -f /var/www/html/bin/worker.php
sleep 10m
done