Very true, I was thinking about a page rendering script. As far as cli 
code goes, the ShellDispatcher construct method takes care of 
set_time_limit(0) for you.
cake/console/cake.php
ShellDispatcher::__construct( line 127 on 1.2 RC3):
    function __construct($args = array()) {
        set_time_limit(0);

[EMAIL PROTECTED] wrote:
> When I run something with php cli I have not noticed any normal time
> limit. I have had cron jobs run for 20 minutes without setting a
> limit.
>
> Sure, set_time_limit is bad design for a page rendering script. But
> something that is supposed to crawl through 6-7 months of transactions
> for a web shop and create statistics is something else. There is no
> design in the world that will get you down under 30 sec. :)
>
> /Martin
>
> On Oct 24, 4:27 pm, "Liebermann, Anja Carolin"
> <[EMAIL PROTECTED]> wrote:
>   
>> Hi everybody!
>>
>> Is there a possibility to set the time limit for a script in CakePHP?
>>
>> With a normal PHP script which has a big execution time I set it to
>>         set_time_limit(0);
>> to avoid error messages.
>>
>> Can I do the same with Cake without changing the seetings for the whole
>> server? If yes where and how?
>>
>> Thank you in advance!
>>
>> Anja
>>     
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to