Can you inject into the queue directly?

If you need to add a job to the queue but cant get at the rails environment it 
seems reasonable to add the job directly to the queue. But how?

All seems simple enough until you look at the binary arg field. What format 
should the data take? I'm trying to add the ruby harsh argument:

  {:some_id => 123, :other_ids => [1,2,3]}

but cant for the life of me work out how to pack this into the arg column.
any pointers?


many thanks all
_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel

Reply via email to