Spaces:
Sleeping
Sleeping
File size: 244 Bytes
4418888 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/bash
# Start the background updater loop
# It runs get.php every 60 seconds
(
while true; do
php /var/www/html/get.php
sleep 60
done
) &
# Start Apache in the foreground
docker-php-entrypoint apache2-foreground
|