Updated cron CheckAlerts.php file