runJobs_pre function is updated
entity manager invocked in pre, post and process job