opdating a table each 15 min

Status
Not open for further replies.
As far as I know PHP doesn't have a scheduling function. I had to write a component that schedules something then call that component using a cron job and wget on linux.

If you are on Windows, you could use the Task Scheduler and get a copy of wget for windows to call a url

Andre
 
Php doesn't have built a in timing function or anything, mainly because the script is only run each time a user requests a page.
One way to get around this is to store a time value and check against that time value each time the script is run. When
15min has passed you update the table before they can view it. Too any user it will seems like the table gets updated every 15min.

Pål
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top