Durations to jobs

It won't work coz job_histories.duration as integer: `580 / 60` returns `9`