Newer
Older
phpservermon / update_status.sh
@Benoit Podwinski Benoit Podwinski on 23 Jul 2017 159 bytes Cron up to 300s (5min) by default
#!/bin/sh
[ $UPDATE_INTERVAL -ge 1 ] || UPDATE_INTERVAL=300

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