[Backgroundrb-devel] Worker suicide

Danny Burkes dburkes at infoteria.com
Thu Jan 10 12:13:14 EST 2008


> put "exit" on the last line
>
> def create
>   #... do stuff
>   exit
> end
>
> (can be called anywhere in the worker, in other methods etc).
>

That doesn't seem to work- I still see the ruby process in ps.  This  
is a dynamically-created worker, and I want to exit the entire process  
once it is finished.  Any other ideas?

Thanks,

Danny


More information about the Backgroundrb-devel mailing list