How to set hours for a job