Hi,
I am trying to make a site that grabs content from other sites dynamically and displays that content on my main page. But, this grabbing takes a lot of time so for this I wrote php scripts that grab the content and create a cache file on the servers which are used by main page to display the information so that it is less time consuming and the page loads quickly. For example: If I want yahoo headlines on my mainpage.php, I have written a script called grabyahoo.php which grabs the yahoo headlines and creates a cache file called yahoo.cache. Now my mainpage.php instead of getting the data from the yahoo servers gets it from yahoo.cache because of which the page does not take time to load.
Now my main problem is that how do I get this grabyahoo.php script to execute automatically periodically so that it creates a freah cache on it's own after the time specified and the main page just lifts the info from the yahoo.cache file. What bascially I need is just like a shell script that execute automatically as soon as the server starts.
Thanks in advance,
Mandy.