Re: Re: Program execution stops at exec()
| From: | Tom Mikulecky | Date: | Mon, 27 May 2002 12:32:25 +0000 |
| Subject: | Re: Re: Program execution stops at exec() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99359@lists.php.net to get a copy of this message | ||
David Freeman wrote:
> > What I don't understand is why my php script dies while
> > executing the shell script. Set_limit_time should make it
> > wait. The build.sh script completes well.
>
> Not the exact solution here but perhaps a work-around. How dynamic is
> the data you're generating with your shell script? Perhaps you could
> get away with doing a cron on your shell script (once every hour or
> whatever) and outputing it to a text file that you then parse in php to
> deal with results.
>
> CYA, Dave
It is generated rarely. I wanted to do a sort of interface to start
generation of some files at distance. It would be cool to have it done
just by pushing single button. My work-around is that now I have to push
another button after 3 hours ;) No big deal, it is generated once or twice
a year.
Thanks to everyone who tried to help me
Tom