Insert to :jobs table before running, in case of crash.

Note: also required adding `update` method so we can update the jobs
table record on successful completion.
Attach to last run by default.