[Backgroundrb-devel] Worker suicide

Zachary Powell zach at plugthegap.co.uk
Thu Jan 10 11:58:57 EST 2008

put "exit" on the last line

def create
  #... do stuff

(can be called anywhere in the worker, in other methods etc).

On 1/10/08, Danny Burkes <dburkes at infoteria.com> wrote:
> I have a worker which wants to delete itself after it finishes its
> work- how can it do that?
> Best Regards,
> Danny Burkes
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080110/808d0d3a/attachment.html 

More information about the Backgroundrb-devel mailing list