PHP Scheduling Update ?
Posted: Sat Oct 10, 2009 4:48 pm
Dear members of the PHP Dev Network,
I've been thinking on this problem for quite some time now and I can't seem to find a decent solution for it (maybe due to my very limited knowledge). Here's the deal:
- I made a few Scripts that retrieve information from a certain MySQL Database on a host (Web Host != Host) and then prints an html. The problem is: The Host can't be constantly bombarded with SQL queries everytime someone enters the site (Hence seeing the script, not only overloading the host with queries, as it would consume a lot of bandwith from the web host and make it slower since it will have to constantly applying the code). So I was wondering if anyone knows a way to e.g. load the script every 30 mins, the script writes the data into a file which is then read by the host (there has to be an output file I guess).
Looking forward for your answer,
Thank you for your time and patience,
Horus.
I've been thinking on this problem for quite some time now and I can't seem to find a decent solution for it (maybe due to my very limited knowledge). Here's the deal:
- I made a few Scripts that retrieve information from a certain MySQL Database on a host (Web Host != Host) and then prints an html. The problem is: The Host can't be constantly bombarded with SQL queries everytime someone enters the site (Hence seeing the script, not only overloading the host with queries, as it would consume a lot of bandwith from the web host and make it slower since it will have to constantly applying the code). So I was wondering if anyone knows a way to e.g. load the script every 30 mins, the script writes the data into a file which is then read by the host (there has to be an output file I guess).
Looking forward for your answer,
Thank you for your time and patience,
Horus.