FIX: make it OSX compatible...
Add support for scheduled jobs.