On Sat, Sep 12, 2009 at 5:19 AM, trak3r <[email protected]> wrote:
> ok i'm able to 'peek' at the delayed jobs now and get the ID of a
> delayed job "(job server=X.X.X.X:X id=9189277 size=76)" but how might
> i actually retrieve that job to figure out what it is (deserialize
> it)?  i don't see any methods in the ruby client pertaining to
> grabbing a specific job by ID :-\  thanks again.

The peek_delayed method returns a job object. Use the body method to
get its body.

> j = beanstalk.peek_delayed
(job server=10.0.0.1:11300 id=1 size=13)
> j.body
"hello, world!\n"
>

kr

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to