AndyB
Well-known member
Recommended Cron Job:
I suggest creating a Cron so the NOAA Doppler image is copied every 5 minutes to your server. That way your forum list will load faster. This Cron would be created on your server.
Example of a PHP file you would call from your servers Cron.
I suggest creating a Cron so the NOAA Doppler image is copied every 5 minutes to your server. That way your forum list will load faster. This Cron would be created on your server.
Example of a PHP file you would call from your servers Cron.
PHP:
<?php
// define dopplerUrl
$dopplerUrl = 'http://radar.weather.gov/lite/N0R/MUX_loop.gif';
// define dopplerPath
$dopplerPath = '/home/southbay/www/misc/doppler.gif';
// copy remote image to server
copy($dopplerUrl, $dopplerPath);
Last edited: