Improved cron.php security-wise with a more specific sql.