This shell script is an application monitoring script that runs as a cron job. Restarts the app if it is down and sends out an error log as an email.