Im not home now - Have disabled the scripvt (cron-job - before I left
home for work...
- Ive got a small while-loop, which should process monthly data, &
compile them into a single data-file (ascii/text) for the 4-5 months
stored... - Total time should only be about 10 seconds or so - 1-2
seconds per month...
this is a BRIEF summary of my script.. - the $counter variable is
*NOT* part of the while loop - I added that in to de-bug it. (end the
loop after 5 loops)
$counter=0;
while (...) {
$counter++;
if ($counter>5){exit;}
#exit;
}
PROBLEM:
if I put the exit command - before the end of the loop ( #exit; ) -
rmove the #
- the script times out after 1 loop - (aS WANTED) - everything in the
screen - is ok - & correct...
& the 'while' loop condition, is changing - Correctly...
- If I take the last exit; & change it to #exit;
the script takes a LONG LONG time - then times out with an error -
'endless loop'..
- query...
Even with my $counter - section it doesnt stop after 5 loops....
Is there a way to FORCE the computer/server to actually show me the
text / output of the script - before it decides to time-out..
(up till that time - the scripty must be outputrting something...)
G
(Home in aprox 5-6 hours)
K-Email v1.00
Join the New Zealand Online/Email Community
Email :- [EMAIL PROTECTED] or
Online:- http://groups.yahoo.com/group/new_zealand/
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/