Newer
Older
phpservermon / update_status.sh
@Benoit Podwinski Benoit Podwinski on 22 Jul 2017 158 bytes Init
#!/bin/sh
[ $UPDATE_INTERVAL -ge 1 ] || UPDATE_INTERVAL=30

while [ true ]; do
	/usr/local/bin/php /var/www/cron/status.cron.php
	sleep $UPDATE_INTERVAL
done