Moved job processing to its own method, making it more suitable for unit testing
Moved job processing to its own method, making it more suitable for unit testing

noushi/apscheduler,agronholm/apscheduler,srault95/apscheduler