A totally different solution would to use a message queue like http://rabbitmq.com. At least the you'll have a generic way to schedule out of band work. And you don't have to use lock files, flag columns or other tricks.
-Mark On Feb 28, 3:46 pm, Tan Cheng <davidtan...@gmail.com> wrote: > Thank you!!! Also, I understand that you did not mean to encode the > video in the $LOCK folder. I didn't express myself clearly, seems like > I need help not only with programming language... > > Thanks again for spending almost the whole day inspiring me. Makes me > just love cakephp even more! > > -David > > On Feb 28, 3:38 pm, Ryan Schmidt <google-2...@ryandesign.com> wrote: > > > > > > > > > On Feb 28, 2011, at 14:29, Tan Cheng wrote: > > > > Also, I want to ask if I create the shell as cakephp shell, will that > > > shell be restricted by the "max_execution_time" in php.ini? > > > According to the comments here... > > >http://php.net/set-time-limit > > > ...the time limit defaults to unlimited on the command line PHP SAPI. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php