The object returned by "persistent_job" method is an instance BdrbJobQueue class. Also, currently there is no API method to check if server is running. I am afraid, you will have to hack your own or wait for next release.
On Thu, Nov 20, 2008 at 7:56 PM, Max Williams <[EMAIL PROTECTED]> wrote: > Another dumb question... > > Before i enqueue a job, I want to raise an exception if the Bdrb server > isn't running. Is there a quick and easy way to test for this? I thought > i'd seen a method somewhere but i've been hunting round various docs and the > code and can't find a way. I might just be being blind though. > > thanks, max > > _______________________________________________ > Backgroundrb-devel mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/backgroundrb-devel > -- Let them talk of their oriental summer climes of everlasting conservatories; give me the privilege of making my own summer with my own coals. http://gnufied.org _______________________________________________ Backgroundrb-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/backgroundrb-devel
