Hello,
1. If we use:
<?php
include('phpweather.inc');
register_shutdown_function('update_metars_db');
?>
..what happens when noaa is dead and meanwhile our page is hit hundreds
of times? Hundreds of processes on our machine ever so slowly timing
out, or does php handle this nicely?
2. Another thing to do is to run a cron job that every 15 minutes hits
the page, as in
0,15,30,45 * * * * lynx http://www.yourwxpage.com -dump -source 2>%1
1>/dev/null
but that of course does not solve the problem of what happens when the
noaa page is dead; it simply ensures we always have a recent update in
our database when the site IS up.
Cheers
Michael
www.mvw.net
- noaa dead, so our sites all hang :) Michael Willems
- Re: noaa dead, so our sites all hang :) Brenno J.S.A.A.F. de Winter
- RE: noaa dead, so our sites all hang ... Michael Willems
- Re: noaa dead, so our sites all h... Brenno J.S.A.A.F. de Winter
- Re: noaa dead, so our sites all hang ... Martin Geisler
- Re: noaa dead, so our sites all h... Brenno J.S.A.A.F. de Winter
- Re: noaa dead, so our sites a... Martin Geisler
- Re: noaa dead, so our sites all hang :) Grant Barrett
- Re: noaa dead, so our sites all hang ... Martin Geisler
- Re: register_shutdown_function Michael Willems
- Re: register_shutdown_functio... Martin Geisler
