Added output logging to cron jobs