Adding code to analyze cronjob output