My job finishes with echo statement but does not finish without
I have a job that I ran several times on a shared host. It starts, then
calculates and updates the database for a few minutes and then ends with a
comment telling me it finished.
When I run it, then the program terminates somewhere in the middle and the
last comment never comes. But when I do an echo statement in the main
loop, the exact same program DOES reach the final comment and does all it
is supposed to do even though it apparently has to do more work.
Question: Who know why the echoing output can make a program finish while
it does not without the echo's?
No comments:
Post a Comment