Cron support

Made the use of cron optional. Defaulting to off