Re: [Q] Automatic (i.e., scheduled) access to another web page
From: Daniel Tryba (news_comp.lang.php_at_canopus.nl)
Date: 01/26/04
- Next message: Daniel Tryba: "Re: redirecting with header(Location:blah"
- Previous message: Geoff Muldoon: "Re: Why php and not C?"
- In reply to: Michael T. Peterson: "[Q] Automatic (i.e., scheduled) access to another web page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Jan 2004 22:43:30 +0000 (UTC)
Michael T. Peterson <mtp1032@comcast.net> wrote:
> I need to be able update my web site with info from a remote web site. At
> this other web site, the info I require is updated every 30 minutes, 24
> hours per day. Life would be cool if a way existed by which I could
> "schedule" my code to run periodically so that my info could remain
> [reasonably] synchronized with the info on this other site.
Scheduling isn't provided by PHP, but it can be by tools on the
webserver (or any other machine requesting the update page regularly).
But there is no need to update every 30 minutes, you only need to update
if you cached version is requested and the cached data is more than 30
minutes old. The only problem is multiple requests on an update, but
htat is what flock(ing) is for...
-- Daniel Tryba
- Next message: Daniel Tryba: "Re: redirecting with header(Location:blah"
- Previous message: Geoff Muldoon: "Re: Why php and not C?"
- In reply to: Michael T. Peterson: "[Q] Automatic (i.e., scheduled) access to another web page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|