1 2 3 4 5 |
['item1', 'item2', 'item2'] do |work| Nanite(/email/process, work, :selector => :rr) do |res| # check res here and update your db thast the job passed/failed end end |
1 2 3 4 5 |
['item1', 'item2', 'item2'] do |work| Nanite(/email/process, work, :selector => :rr) do |res| # check res here and update your db thast the job passed/failed end end |