Use the state changes to determine if job should be re-scheduled.
Conditional doesn't hit when it's supposed to.
Merge branch 'master' of github.com:VideofyMe/codem-schedule