Yes I already added. My objective is to run a function every seconds. And check some time based functionality. For example, In my application I have five groups of users. Each of the users have a particular task. And allotted a particular period of time. The task firstly assigned to the lower level(ie, 5th level) Users. If that users couldnot able to clear the task with the allotted time, it will automatically reassign to the next higher level of users(here 4 th level). My table structure is Users-> name,allotted time Tasks->task title,task description. please help me.
I think Mysql scheduler is the better option. But i need to send a mail to the reassigned users at the particular time. Have any other better solution for this? On Wed, Oct 20, 2010 at 5:17 PM, Mike Karthauser <[email protected]>wrote: > > On Wed, October 20, 2010 6:59 am, jerin k wrote: > > > > $timer->start('forloop'); > > > > for ( $i=0; $i< {a big number}; $i++ ) > > { > > // do calculation or some rendering > > } > > > > echo $timer->stop('forloop'); > > > > > > > > How this work? > > I got an error message while running.. > > undefined variable $timer. > > Please help. > > have you added timer into the array of helpers in your controller or > app_controller? > > > -- > Mike Karthauser > Managing Director - Brightstorm Ltd > > Email: [email protected] > Web: http://www.brightstorm.co.uk > Tel: 07939 252144 (mobile) > Fax: 0870 1320560 > > Address: 1 Brewery Court, North Street, Bristol, BS3 1JS > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
