Update cron_clean_mage_day.php

Use of PDO.
Try / catch for bad data in local.xml in somes websites