Added error detection in recorder and added cron scheduling template.