Tuesday, June 26, 2012

Re: Gearman worker as Console command

On Tue, Jun 26, 2012 at 9:13 PM, baur79 <baur79@gmail.com> wrote:
> but how to run the function by
> $worker->addFunction("func", "func_my");

Something like

$this->worker = new gearmanworker()

then

$this->worker->addFunction("func", "func_my");

Of course presuming that somewhere you have already added the servers

Tarique

--
=============================================================
PHP for E-Biz: http://sanisoft.com
=============================================================

--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: