Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 1st, 2004, 03:17 PM
Authorized User
 
Join Date: Aug 2004
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Time Limits on a Script

I have a PHP script reading data from a weather station which is set to run for 24 hrs before restarting the web page. THe script often stops with an out of time error message.

I have tried setting set_time_limit to a very large number near the start of the script eg (100000) but the program still stops before the 24 hrs is up.

The meta dat on the page is:

<META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Refresh" CONTENT="10">

so the page restarts after 10 seconds.

Any suggestions on how to get the script running reliably for 24 hrs?

Thanks
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
optimise it or speed up execution time perl script crmpicco Perl 2 November 22nd, 2006 07:31 AM
Data field limits rayncarnation Access 1 October 15th, 2005 02:27 PM
script execution time madhukp Classic ASP Basics 2 February 2nd, 2005 03:51 AM
SQL trigger, rollback , update, limits brucenx SQL Server 2000 1 December 17th, 2004 06:05 AM
performance limits / data sets justinhume Pro PHP 1 July 15th, 2004 01:49 PM



All times are GMT -4. The time now is 05:29 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.