run jobs, in serial or parallel