Code to accompany http://sitepoint.com/comparing-backgrond-processing-libraries-delayed-job