Re: Questions over questions
From: John Downey (blah_at_doesntexist.com)
Date: 10/13/03
- Next message: Rod: "Re: mysql"
- Previous message: thordivel: "newbie: day number in year to gregorian date?"
- In reply to: Kevin Thorpe: "Re: Questions over questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 13 Oct 2003 11:16:27 GMT
Kevin Thorpe wrote:
>> If you were hosting your account on one of my servers and I found you
>> defeating the 30 second limit I'd be terminating your account as I'd deem
>> that you'd broken the Acceptable User Policy. The 30 second time limit
>> is to
>> stop errant scripts running indefinitely and consuming resources
>> needlessly
>> for the disbenefit of other users. If you get into the habit of
>> turning this
>> time limit off you'll eventually create one of these scripts. I don't
>> think
>> it's good programming practice to leave a user with a script running
>> with no
>> indication that it's working. This is why we normally segment long
>> processes
>> into smaller chunks and why things like progress bars were invented.
>
>
> This begs the question.....
>
> How do you run a php process off-line?
>
> I've built a small perl daemon (php too old) which runs php jobs
> off-line. Communication is all via a mySQL table and I have a 'job
> queue' webpage to keep an eye on how things are going.
>
> I would really like to be able to spawn offline jobs from a web page
> though. Something like....
> click the link to get your report...
> up pops a small browser window with a progress bar
> when the progress bar completes the window reloads
> with the report
> ... but short of being able to fragment the report build process I can't
> think how to do it.
>
Perhaps some nice javascript and flush() if used right.
- Next message: Rod: "Re: mysql"
- Previous message: thordivel: "newbie: day number in year to gregorian date?"
- In reply to: Kevin Thorpe: "Re: Questions over questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|