Let me know if this solution works for you. I am happy to go another route if you like.

Added ability to specify custom table name for jobs.  If not set, it defaults to 'jobs'.