fix for scheduled jobs
Merge pull request #1 from talyric/fix-for-scheduled-jobs

fix for scheduled jobs